pub enum IksError {
Show 15 variants
NoMem,
BadXml,
Hook,
NetNoDns,
NetNoSock,
NetNoConn,
NetRwErr,
NetNotSupp,
NetTlsFail,
NetDropped,
NetUnknown,
FileNoFile,
FileNoAccess,
FileRwErr,
Io(Error),
}Expand description
Error types that can occur during XML parsing and processing.
Variants§
NoMem
Memory allocation failed
BadXml
Invalid XML syntax
Hook
Error returned from a hook function
NetNoDns
Network DNS resolution failed
NetNoSock
Network socket creation failed
NetNoConn
Network connection failed
NetRwErr
Network read/write error
NetNotSupp
Network operation not supported
NetTlsFail
TLS operation failed
NetDropped
Network connection dropped
NetUnknown
Unknown network error
FileNoFile
File not found
FileNoAccess
File access denied
FileRwErr
File read/write error
Io(Error)
IO error
Trait Implementations§
Source§impl Error for IksError
impl Error for IksError
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()
Auto Trait Implementations§
impl Freeze for IksError
impl !RefUnwindSafe for IksError
impl Send for IksError
impl Sync for IksError
impl Unpin for IksError
impl !UnwindSafe for IksError
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