pub enum WellKnownBusNameError {
BeginDigit,
BeginDot,
EndDot,
ElementBeginDigit,
ElementBeginDot,
Empty,
Elements,
ExceedMaximum(usize),
InvalidChar(u8),
}
Expand description
An enum representing all errors, which can occur during the handling of a WellKnownBusName
.
Variants§
BeginDigit
BeginDot
EndDot
ElementBeginDigit
ElementBeginDot
Empty
Elements
ExceedMaximum(usize)
InvalidChar(u8)
Trait Implementations§
Source§impl Debug for WellKnownBusNameError
impl Debug for WellKnownBusNameError
Source§impl Display for WellKnownBusNameError
impl Display for WellKnownBusNameError
Source§impl Error for WellKnownBusNameError
impl Error for WellKnownBusNameError
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 From<WellKnownBusNameError> for BusError
impl From<WellKnownBusNameError> for BusError
Source§fn from(source: WellKnownBusNameError) -> Self
fn from(source: WellKnownBusNameError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WellKnownBusNameError
impl PartialEq for WellKnownBusNameError
impl Eq for WellKnownBusNameError
impl StructuralPartialEq for WellKnownBusNameError
Auto Trait Implementations§
impl Freeze for WellKnownBusNameError
impl RefUnwindSafe for WellKnownBusNameError
impl Send for WellKnownBusNameError
impl Sync for WellKnownBusNameError
impl Unpin for WellKnownBusNameError
impl UnwindSafe for WellKnownBusNameError
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