pub enum TraceIdError {
InvalidLength,
InvalidHex,
Zero,
}Expand description
The reason a textual trace identifier cannot be inherited.
Variants§
Trait Implementations§
Source§impl Clone for TraceIdError
impl Clone for TraceIdError
Source§fn clone(&self) -> TraceIdError
fn clone(&self) -> TraceIdError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TraceIdError
Source§impl Debug for TraceIdError
impl Debug for TraceIdError
Source§impl Display for TraceIdError
impl Display for TraceIdError
impl Eq for TraceIdError
Source§impl Error for TraceIdError
impl Error for TraceIdError
1.30.0 · 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()
Source§impl PartialEq for TraceIdError
impl PartialEq for TraceIdError
impl StructuralPartialEq for TraceIdError
Auto Trait Implementations§
impl Freeze for TraceIdError
impl RefUnwindSafe for TraceIdError
impl Send for TraceIdError
impl Sync for TraceIdError
impl Unpin for TraceIdError
impl UnsafeUnpin for TraceIdError
impl UnwindSafe for TraceIdError
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