pub enum TraceContextError {
UnsupportedVersion(u8),
InvalidFormat,
}Expand description
Errors from trace context encoding/decoding.
Variants§
UnsupportedVersion(u8)
The version byte is not supported.
InvalidFormat
The string format is invalid.
Trait Implementations§
Source§impl Clone for TraceContextError
impl Clone for TraceContextError
Source§fn clone(&self) -> TraceContextError
fn clone(&self) -> TraceContextError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraceContextError
impl Debug for TraceContextError
Source§impl Display for TraceContextError
impl Display for TraceContextError
Source§impl PartialEq for TraceContextError
impl PartialEq for TraceContextError
impl Eq for TraceContextError
impl StructuralPartialEq for TraceContextError
Auto Trait Implementations§
impl Freeze for TraceContextError
impl RefUnwindSafe for TraceContextError
impl Send for TraceContextError
impl Sync for TraceContextError
impl Unpin for TraceContextError
impl UnwindSafe for TraceContextError
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