pub enum PathError {
NotAscii,
NotCStr,
TooLarge,
}Expand description
Errors that arise from converting byte buffers into paths
Variants§
NotAscii
Byte buffer contains non-ASCII characters
NotCStr
Byte buffer is not a C string
TooLarge
Byte buffer is too long (longer than PathBuf::MAX_SIZE_PLUS_ONE)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathError
impl RefUnwindSafe for PathError
impl Send for PathError
impl Sync for PathError
impl Unpin for PathError
impl UnwindSafe for PathError
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