pub enum CStringArrayError {
NulError(NulError),
EmptyArray,
}
Expand description
Error type for CStringArray operations
Variants§
NulError(NulError)
String contains an interior null byte
EmptyArray
Empty string array is not allowed
Trait Implementations§
Source§impl Debug for CStringArrayError
impl Debug for CStringArrayError
Source§impl Display for CStringArrayError
impl Display for CStringArrayError
Source§impl Error for CStringArrayError
impl Error for CStringArrayError
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 CStringArrayError
impl RefUnwindSafe for CStringArrayError
impl Send for CStringArrayError
impl Sync for CStringArrayError
impl Unpin for CStringArrayError
impl UnwindSafe for CStringArrayError
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