pub struct InvalidBlockName(/* private fields */);
Expand description
Returned when a function was unable to convert a string to a BlockName
.
Trait Implementations§
Source§impl Debug for InvalidBlockName
impl Debug for InvalidBlockName
Source§impl Display for InvalidBlockName
impl Display for InvalidBlockName
Source§impl Error for InvalidBlockName
impl Error for InvalidBlockName
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<InvalidBlockName> for Error
impl From<InvalidBlockName> for Error
Source§fn from(err: InvalidBlockName) -> Self
fn from(err: InvalidBlockName) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidBlockName
impl RefUnwindSafe for InvalidBlockName
impl Send for InvalidBlockName
impl Sync for InvalidBlockName
impl Unpin for InvalidBlockName
impl UnwindSafe for InvalidBlockName
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