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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)