pub enum InstrumentIdError {
InvalidFormat,
InvalidComponent(IdentifierError),
}Expand description
Parsing failures for the display form of an instrument identity.
Variants§
InvalidFormat
InvalidComponent(IdentifierError)
Trait Implementations§
Source§impl Clone for InstrumentIdError
impl Clone for InstrumentIdError
Source§impl Debug for InstrumentIdError
impl Debug for InstrumentIdError
Source§impl Display for InstrumentIdError
impl Display for InstrumentIdError
impl Eq for InstrumentIdError
Source§impl Error for InstrumentIdError
impl Error for InstrumentIdError
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 From<IdentifierError> for InstrumentIdError
impl From<IdentifierError> for InstrumentIdError
Source§fn from(source: IdentifierError) -> Self
fn from(source: IdentifierError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstrumentIdError
impl PartialEq for InstrumentIdError
impl StructuralPartialEq for InstrumentIdError
Auto Trait Implementations§
impl Freeze for InstrumentIdError
impl RefUnwindSafe for InstrumentIdError
impl Send for InstrumentIdError
impl Sync for InstrumentIdError
impl Unpin for InstrumentIdError
impl UnsafeUnpin for InstrumentIdError
impl UnwindSafe for InstrumentIdError
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