pub enum TreeSpecIdParseError {
Empty,
TooLong {
max_bytes: usize,
actual_bytes: usize,
},
InvalidCharacters,
}Expand description
TreeSpecIdParseError
Typed rejection for an invalid Tree Spec identifier.
Variants§
Trait Implementations§
Source§impl Clone for TreeSpecIdParseError
impl Clone for TreeSpecIdParseError
Source§fn clone(&self) -> TreeSpecIdParseError
fn clone(&self) -> TreeSpecIdParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TreeSpecIdParseError
impl Debug for TreeSpecIdParseError
Source§impl Display for TreeSpecIdParseError
impl Display for TreeSpecIdParseError
impl Eq for TreeSpecIdParseError
Source§impl Error for TreeSpecIdParseError
impl Error for TreeSpecIdParseError
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 TreeSpecIdParseError
impl PartialEq for TreeSpecIdParseError
impl StructuralPartialEq for TreeSpecIdParseError
Auto Trait Implementations§
impl Freeze for TreeSpecIdParseError
impl RefUnwindSafe for TreeSpecIdParseError
impl Send for TreeSpecIdParseError
impl Sync for TreeSpecIdParseError
impl Unpin for TreeSpecIdParseError
impl UnsafeUnpin for TreeSpecIdParseError
impl UnwindSafe for TreeSpecIdParseError
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