pub enum ZStringError {
NoTrailingNulls,
InteriorNulls,
}Variants§
NoTrailingNulls
The provided data didn’t have any trailing nulls ('\0').
InteriorNulls
The provided data had interior nulls (non-null data after a null).
Trait Implementations§
Source§impl Clone for ZStringError
impl Clone for ZStringError
Source§fn clone(&self) -> ZStringError
fn clone(&self) -> ZStringError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZStringError
impl Debug for ZStringError
Source§impl PartialEq for ZStringError
impl PartialEq for ZStringError
impl Copy for ZStringError
impl Eq for ZStringError
impl StructuralPartialEq for ZStringError
Auto Trait Implementations§
impl Freeze for ZStringError
impl RefUnwindSafe for ZStringError
impl Send for ZStringError
impl Sync for ZStringError
impl Unpin for ZStringError
impl UnwindSafe for ZStringError
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