Enum ParseSpanContextError
pub enum ParseSpanContextError {
MissingSeparator,
InvalidProcessId(ParseIntError),
InvalidSpanId(ParseIntError),
}Expand description
Errors that can occur while parsing SpanContext from a string.
Variants§
MissingSeparator
The string is missing a : separator.
InvalidProcessId(ParseIntError)
The embedded ProcessId failed to parse.
InvalidSpanId(ParseIntError)
The embedded SpanId failed to parse.
Trait Implementations§
§impl Clone for ParseSpanContextError
impl Clone for ParseSpanContextError
§fn clone(&self) -> ParseSpanContextError
fn clone(&self) -> ParseSpanContextError
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 more§impl Debug for ParseSpanContextError
impl Debug for ParseSpanContextError
§impl Display for ParseSpanContextError
impl Display for ParseSpanContextError
§impl Error for ParseSpanContextError
impl Error for ParseSpanContextError
§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 ParseSpanContextError
impl RefUnwindSafe for ParseSpanContextError
impl Send for ParseSpanContextError
impl Sync for ParseSpanContextError
impl Unpin for ParseSpanContextError
impl UnwindSafe for ParseSpanContextError
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