Enum bonsaidb::client::ApiError [−][src]
pub enum ApiError<T> {
Api(T),
Client(Error),
}
Expand description
An error returned from an api request.
Variants
Api(T)
The API returned its own error type.
Client(Error)
Tuple Fields
0: Error
An error from BonsaiDb occurred.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for ApiError<T>
impl<T> !UnwindSafe for ApiError<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more