pub enum NodeIdentifierError {
Empty {
label: &'static str,
},
TooLong {
label: &'static str,
len: usize,
max: usize,
},
InvalidCharacters {
label: &'static str,
value: String,
},
InvalidBoundary {
label: &'static str,
value: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for NodeIdentifierError
impl Clone for NodeIdentifierError
Source§impl Debug for NodeIdentifierError
impl Debug for NodeIdentifierError
Source§impl Display for NodeIdentifierError
impl Display for NodeIdentifierError
impl Eq for NodeIdentifierError
Source§impl Error for NodeIdentifierError
impl Error for NodeIdentifierError
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 NodeIdentifierError
impl PartialEq for NodeIdentifierError
impl StructuralPartialEq for NodeIdentifierError
Auto Trait Implementations§
impl Freeze for NodeIdentifierError
impl RefUnwindSafe for NodeIdentifierError
impl Send for NodeIdentifierError
impl Sync for NodeIdentifierError
impl Unpin for NodeIdentifierError
impl UnsafeUnpin for NodeIdentifierError
impl UnwindSafe for NodeIdentifierError
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