pub struct ErrorList { /* private fields */ }
Expand description
Generic list of errors return from various lzc_*
calls.
The first item (the name
) is the thing we were operating on (creating, destroying, etc) that cause the error,
and the second (the error
) is the translated error code
Note that there is a special name
“N_MORE_ERRORS” which is a count of errors not listed
Implementations§
Trait Implementations§
Source§impl Error for ErrorList
impl Error for ErrorList
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<'a> IntoIterator for &'a ErrorList
impl<'a> IntoIterator for &'a ErrorList
Auto Trait Implementations§
impl Freeze for ErrorList
impl RefUnwindSafe for ErrorList
impl !Send for ErrorList
impl !Sync for ErrorList
impl Unpin for ErrorList
impl UnwindSafe for ErrorList
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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