[][src]Struct zfs_core::ErrorList

pub struct ErrorList { /* fields omitted */ }

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]

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]

impl From<NvList> for ErrorList[src]

impl<'a> IntoIterator for &'a ErrorList[src]

type Item = (&'a CStr, Error)

The type of the elements being iterated over.

type IntoIter = ErrorListIter<'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,