pub enum PingStatus {
Ok = 0,
Committed = 1,
Aborted = 2,
}
Variants§
Trait Implementations§
source§impl Clone for PingStatus
impl Clone for PingStatus
source§fn clone(&self) -> PingStatus
fn clone(&self) -> PingStatus
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 PingStatus
impl Debug for PingStatus
source§impl Hash for PingStatus
impl Hash for PingStatus
source§impl PartialEq for PingStatus
impl PartialEq for PingStatus
source§fn eq(&self, other: &PingStatus) -> bool
fn eq(&self, other: &PingStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PingStatus
impl StructuralPartialEq for PingStatus
Auto Trait Implementations§
impl RefUnwindSafe for PingStatus
impl Send for PingStatus
impl Sync for PingStatus
impl Unpin for PingStatus
impl UnwindSafe for PingStatus
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