pub struct InteriorNulError {
pub position: usize,
}Available on crate feature
cstr only.Expand description
Error type returned when a C String has an interior NUL byte.
Fields§
§position: usizeThe position of the interior NUL byte
Trait Implementations§
Source§impl Debug for InteriorNulError
impl Debug for InteriorNulError
Source§impl Display for InteriorNulError
impl Display for InteriorNulError
Source§impl Error for InteriorNulError
impl Error for InteriorNulError
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()
Auto Trait Implementations§
impl Freeze for InteriorNulError
impl RefUnwindSafe for InteriorNulError
impl Send for InteriorNulError
impl Sync for InteriorNulError
impl Unpin for InteriorNulError
impl UnwindSafe for InteriorNulError
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