pub enum IppError {
HttpError(Error),
AsyncClientError(Error),
RequestError(u16),
IoError(Error),
StatusError(StatusCode),
PrinterNotReady,
ParseError(IppParseError),
MissingAttribute,
InvalidAttributeType,
InvalidUri(InvalidUri),
ClientError(Error),
TlsError(Error),
}
Expand description
IPP error
Variants§
HttpError(Error)
HTTP protocol error
AsyncClientError(Error)
Client error
RequestError(u16)
HTTP request error
IoError(Error)
Network or file I/O error
StatusError(StatusCode)
IPP status error
PrinterNotReady
ParseError(IppParseError)
Parsing error
MissingAttribute
Missing attribute in response
InvalidAttributeType
Invalid attribute type
InvalidUri(InvalidUri)
Invalid URI
ClientError(Error)
Client error
TlsError(Error)
TLS error
Trait Implementations§
source§impl Error for IppError
impl Error for IppError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<IppParseError> for IppError
impl From<IppParseError> for IppError
source§fn from(source: IppParseError) -> Self
fn from(source: IppParseError) -> Self
Converts to this type from the input type.
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§
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