[−][src]Struct zfs_core::ErrorList
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
impl ErrorList
[src]
pub fn iter(&self) -> ErrorListIter<'_>ⓘNotable traits for ErrorListIter<'a>
impl<'a> Iterator for ErrorListIter<'a> type Item = (&'a CStr, Error);
[src]
Notable traits for ErrorListIter<'a>
impl<'a> Iterator for ErrorListIter<'a> type Item = (&'a CStr, Error);
Trait Implementations
impl AsMut<NvList> for ErrorList
[src]
impl AsRef<NvList> for ErrorList
[src]
impl Debug for ErrorList
[src]
impl Display for ErrorList
[src]
impl Error for ErrorList
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<NvList> for ErrorList
[src]
impl<'a> IntoIterator for &'a ErrorList
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorList
[src]
impl !Send for ErrorList
[src]
impl !Sync for ErrorList
[src]
impl Unpin for ErrorList
[src]
impl UnwindSafe for ErrorList
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,