[][src]Enum ipp::client::IppError

pub enum IppError {
    HttpError(Error),
    ClientError(Error),
    RequestError(u16),
    IOError(Error),
    StatusError(StatusCode),
    PrinterStateError(Vec<String>),
    PrinterStopped,
    ParamError(String),
    ParseError(IppParseError),
    ValueParseError(ValueParseError),
    MissingAttribute,
    InvalidAttributeType,
}

IPP error

Variants

HttpError(Error)

HTTP protocol error

ClientError(Error)

Client error

RequestError(u16)

HTTP request error

IOError(Error)

Network or file I/O error

StatusError(StatusCode)

IPP status error

PrinterStateError(Vec<String>)

Printer state error

PrinterStopped

Printer stopped

ParamError(String)

Parameter error

ParseError(IppParseError)

Parsing error

ValueParseError(ValueParseError)

Value parsing error

MissingAttribute

Missing attribute in response

InvalidAttributeType

Invalid attribute type

Trait Implementations

impl Debug for IppError[src]

impl Display for IppError[src]

impl Error for IppError[src]

impl From<Error> for IppError[src]

impl From<Error> for IppError[src]

impl From<Error> for IppError[src]

impl From<IppParseError> for IppError[src]

impl From<StatusCode> for IppError[src]

impl From<ValueParseError> for IppError[src]

Auto Trait Implementations

impl !RefUnwindSafe for IppError

impl Send for IppError

impl Sync for IppError

impl Unpin for IppError

impl !UnwindSafe for IppError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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.