Enum ext4_view::DirEntryNameError
source · pub enum DirEntryNameError {
Empty,
TooLong,
ContainsNull,
ContainsSeparator,
}Expand description
Error returned when DirEntryName construction fails.
Variants§
Empty
Name is empty.
TooLong
Name is longer than DirEntryName::MAX_LEN.
ContainsNull
Name contains a null byte.
ContainsSeparator
Name contains a path separator.
Trait Implementations§
source§impl Clone for DirEntryNameError
impl Clone for DirEntryNameError
source§fn clone(&self) -> DirEntryNameError
fn clone(&self) -> DirEntryNameError
Returns a copy 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 DirEntryNameError
impl Debug for DirEntryNameError
source§impl PartialEq for DirEntryNameError
impl PartialEq for DirEntryNameError
source§fn eq(&self, other: &DirEntryNameError) -> bool
fn eq(&self, other: &DirEntryNameError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DirEntryNameError
impl Eq for DirEntryNameError
impl StructuralPartialEq for DirEntryNameError
Auto Trait Implementations§
impl Freeze for DirEntryNameError
impl RefUnwindSafe for DirEntryNameError
impl Send for DirEntryNameError
impl Sync for DirEntryNameError
impl Unpin for DirEntryNameError
impl UnwindSafe for DirEntryNameError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)