pub enum SysError {
Show 22 variants
NoMemory,
UnknownError,
NotSupported,
InvalidValue,
NotFound,
InvalidConfig,
LimitReached,
VersionMismatch,
DataInvalid,
WrongPassword,
RpcError,
RpcNoResponse,
UsnUrlParseError,
TransportError,
OutOfRange,
Waiting,
IgnorableError,
UnknownIn3Error,
TryAgain,
ResponseError(String),
ContextError,
ConfigError(String),
}Expand description
Errors either originating in the C code (that map to in3_ret_t) or low-level errors
in unsafe code.
Enabling logging should help with debugging such errors.
Variants§
NoMemory
UnknownError
NotSupported
InvalidValue
NotFound
InvalidConfig
LimitReached
VersionMismatch
DataInvalid
WrongPassword
RpcError
RpcNoResponse
UsnUrlParseError
TransportError
OutOfRange
Waiting
IgnorableError
UnknownIn3Error
Error that cannot be mapped to in3_ret_t variants
TryAgain
Resource temporarily unavailable
ResponseError(String)
Error response
ContextError
Could not find last waiting context in execute loop
ConfigError(String)
Config error
Trait Implementations§
impl Eq for SysError
impl StructuralPartialEq for SysError
Auto Trait Implementations§
impl Freeze for SysError
impl RefUnwindSafe for SysError
impl Send for SysError
impl Sync for SysError
impl Unpin for SysError
impl UnwindSafe for SysError
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