pub enum PathCStringError {
ContainsNulByte(NulError),
NotUtf8(PathBuf),
}Variants§
Trait Implementations§
Source§impl Clone for PathCStringError
impl Clone for PathCStringError
Source§impl Debug for PathCStringError
impl Debug for PathCStringError
Source§impl Display for PathCStringError
impl Display for PathCStringError
impl Eq for PathCStringError
Source§impl Error for PathCStringError
impl Error for PathCStringError
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 PathCStringError
impl PartialEq for PathCStringError
impl StructuralPartialEq for PathCStringError
Auto Trait Implementations§
impl Forget for PathCStringError
impl Freeze for PathCStringError
impl Move for PathCStringError
impl RefUnwindSafe for PathCStringError
impl Send for PathCStringError
impl Sync for PathCStringError
impl Unpin for PathCStringError
impl UnsafeUnpin for PathCStringError
impl UnwindSafe for PathCStringError
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