Enum reql::Availability
source · pub enum Availability {
OpFailed(String),
OpIndeterminate(String),
}
Expand description
A server in the cluster is unavailable
The parent class of OpFailedError
and OpIndeterminateError
. Programs may use this
to catch any availability error, but the server will always return one of this class’s
children.
Variants§
Trait Implementations§
source§impl Clone for Availability
impl Clone for Availability
source§fn clone(&self) -> Availability
fn clone(&self) -> Availability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Availability
impl Debug for Availability
source§impl Display for Availability
impl Display for Availability
source§impl From<Availability> for Error
impl From<Availability> for Error
source§fn from(err: Availability) -> Error
fn from(err: Availability) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Availability
impl Send for Availability
impl Sync for Availability
impl Unpin for Availability
impl UnwindSafe for Availability
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