pub struct AnalyticsDecodeError {
kind: AnalyticsDecodeErrorKind,
}Expand description
Failure to decode or validate an analytics protobuf payload.
Fields§
§kind: AnalyticsDecodeErrorKindImplementations§
Source§impl AnalyticsDecodeError
impl AnalyticsDecodeError
const fn result_view(source: DecodeError) -> Self
const fn timeline_view(source: DecodeError) -> Self
const fn chunk_telemetry(source: DecodeError) -> Self
const fn missing_result_core() -> Self
Sourcepub const fn stage(&self) -> AnalyticsDecodeStage
pub const fn stage(&self) -> AnalyticsDecodeStage
Return the stage that rejected the payload.
Sourcepub const fn is_missing_result_core(&self) -> bool
pub const fn is_missing_result_core(&self) -> bool
Return whether the decoded result omitted its required core section.
Trait Implementations§
Source§impl Debug for AnalyticsDecodeError
impl Debug for AnalyticsDecodeError
Source§impl Display for AnalyticsDecodeError
impl Display for AnalyticsDecodeError
Source§impl Error for AnalyticsDecodeError
impl Error for AnalyticsDecodeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AnalyticsDecodeError
impl RefUnwindSafe for AnalyticsDecodeError
impl Send for AnalyticsDecodeError
impl Sync for AnalyticsDecodeError
impl Unpin for AnalyticsDecodeError
impl UnsafeUnpin for AnalyticsDecodeError
impl UnwindSafe for AnalyticsDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more