pub enum DescriptorLeafParseError {
TooShort(usize),
InvalidTextString,
UnsupportedType(u8),
WrongDirectoryEntry,
}Expand description
The error to parse leaf entry for descriptor data.
Variants§
TooShort(usize)
Insufficient data to parse.
InvalidTextString
Failed to parse the leaf as text string.
UnsupportedType(u8)
Unsupported type of descriptor.
WrongDirectoryEntry
The entry is not for leaf.
Trait Implementations§
Source§impl Clone for DescriptorLeafParseError
impl Clone for DescriptorLeafParseError
Source§fn clone(&self) -> DescriptorLeafParseError
fn clone(&self) -> DescriptorLeafParseError
Returns a duplicate of the value. Read more
1.0.0 · 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 DescriptorLeafParseError
impl Debug for DescriptorLeafParseError
Source§impl Display for DescriptorLeafParseError
impl Display for DescriptorLeafParseError
Source§impl PartialEq for DescriptorLeafParseError
impl PartialEq for DescriptorLeafParseError
impl Copy for DescriptorLeafParseError
impl Eq for DescriptorLeafParseError
impl StructuralPartialEq for DescriptorLeafParseError
Auto Trait Implementations§
impl Freeze for DescriptorLeafParseError
impl RefUnwindSafe for DescriptorLeafParseError
impl Send for DescriptorLeafParseError
impl Sync for DescriptorLeafParseError
impl Unpin for DescriptorLeafParseError
impl UnwindSafe for DescriptorLeafParseError
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