#[repr(u32)]pub enum Error {
Show 18 variants
Failure = 1,
Retry = 2,
Busy = 3,
Fatal = 4,
Invalid = 5,
Unsupported = 6,
Parse = 7,
Range = 8,
Nomem = 9,
Noconn = 10,
Nodata = 11,
Noentry = 12,
Config = 13,
Remote = 14,
Expected = 15,
Timeout = 16,
Unauthorized = 17,
Conflict = 18,
}Expand description
GG error codes.
Variants§
Failure = 1
Generic failure
Retry = 2
Failure, can be retried
Busy = 3
Request cannot be handled at the time
Fatal = 4
System is in irrecoverably broken state
Invalid = 5
Request is invalid or malformed
Unsupported = 6
Request is unsupported
Parse = 7
Request data invalid
Range = 8
Request or data outside of allowable range
Nomem = 9
Insufficient memory
Noconn = 10
No connection
Nodata = 11
No more data available
Noentry = 12
Unknown entry or target requested
Config = 13
Invalid or missing configuration
Remote = 14
Received remote error
Expected = 15
Expected non-ok status
Timeout = 16
Request timed out
Lack of permission or authorization policy
Conflict = 18
Version mismatch
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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