Enum bones_lib::prelude::LabeledIdCreateError
pub enum LabeledIdCreateError {
PrefixTooLong,
PrefixNotAscii,
}
Expand description
Error creating a LabeledId
.
Variants§
PrefixTooLong
The prefix was too long ( greater than 63 chars ).
PrefixNotAscii
The prefix was not ASCII.
Trait Implementations§
§impl Debug for LabeledIdCreateError
impl Debug for LabeledIdCreateError
§impl Display for LabeledIdCreateError
impl Display for LabeledIdCreateError
§impl Error for LabeledIdCreateError
impl Error for LabeledIdCreateError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 LabeledIdCreateError
impl RefUnwindSafe for LabeledIdCreateError
impl Send for LabeledIdCreateError
impl Sync for LabeledIdCreateError
impl Unpin for LabeledIdCreateError
impl UnwindSafe for LabeledIdCreateError
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