pub enum HostDirectoryEntryError {
NonUtf8Path,
EmptyDisplayName,
DisplayNameTooLong {
len: usize,
max: usize,
},
ControlCharacter,
}Variants§
Trait Implementations§
Source§impl Clone for HostDirectoryEntryError
impl Clone for HostDirectoryEntryError
Source§impl Debug for HostDirectoryEntryError
impl Debug for HostDirectoryEntryError
Source§impl Display for HostDirectoryEntryError
impl Display for HostDirectoryEntryError
impl Eq for HostDirectoryEntryError
Source§impl Error for HostDirectoryEntryError
impl Error for HostDirectoryEntryError
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 HostDirectoryEntryError
impl PartialEq for HostDirectoryEntryError
impl StructuralPartialEq for HostDirectoryEntryError
Auto Trait Implementations§
impl Freeze for HostDirectoryEntryError
impl RefUnwindSafe for HostDirectoryEntryError
impl Send for HostDirectoryEntryError
impl Sync for HostDirectoryEntryError
impl Unpin for HostDirectoryEntryError
impl UnsafeUnpin for HostDirectoryEntryError
impl UnwindSafe for HostDirectoryEntryError
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