pub struct Error { /* private fields */ }
Expand description
An error resource type for keyvalue operations.
Common errors:
- Connectivity errors (e.g. network errors): when the client cannot establish a connection to the keyvalue service.
- Authentication and Authorization errors: when the client fails to authenticate or does not have the required permissions to perform the operation.
- Data errors: when the client sends incompatible or corrupted data.
- Resource errors: when the system runs out of resources (e.g. memory).
- Internal errors: unexpected errors on the server side.
Currently, this provides only one function to return a string representation
of the error. In the future, this will be extended to provide more information
about the error.
Soon: switch to resource error { ... }
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin 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