pub enum CstrToStrError {
FromBytesWithNul(FromBytesWithNulError),
Utf8(Utf8Error),
}Variants§
FromBytesWithNul(FromBytesWithNulError)
Utf8(Utf8Error)
Trait Implementations§
Source§impl Debug for CstrToStrError
impl Debug for CstrToStrError
Source§impl From<FromBytesWithNulError> for CstrToStrError
impl From<FromBytesWithNulError> for CstrToStrError
Source§fn from(err: FromBytesWithNulError) -> CstrToStrError
fn from(err: FromBytesWithNulError) -> CstrToStrError
Converts to this type from the input type.
Source§impl From<Utf8Error> for CstrToStrError
impl From<Utf8Error> for CstrToStrError
Source§fn from(err: Utf8Error) -> CstrToStrError
fn from(err: Utf8Error) -> CstrToStrError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CstrToStrError
impl RefUnwindSafe for CstrToStrError
impl Send for CstrToStrError
impl Sync for CstrToStrError
impl Unpin for CstrToStrError
impl UnwindSafe for CstrToStrError
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