pub struct EmbeddedNulError;
Expand description
EmbeddedNulError indicates that the string contains embedded NUL bytes and could not be represented as a C string.
Trait Implementations§
Source§impl Debug for EmbeddedNulError
impl Debug for EmbeddedNulError
Source§impl Display for EmbeddedNulError
impl Display for EmbeddedNulError
Source§impl Error for EmbeddedNulError
impl Error for EmbeddedNulError
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 EmbeddedNulError
impl PartialEq for EmbeddedNulError
impl Eq for EmbeddedNulError
impl StructuralPartialEq for EmbeddedNulError
Auto Trait Implementations§
impl Freeze for EmbeddedNulError
impl RefUnwindSafe for EmbeddedNulError
impl Send for EmbeddedNulError
impl Sync for EmbeddedNulError
impl Unpin for EmbeddedNulError
impl UnwindSafe for EmbeddedNulError
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