#[non_exhaustive]pub enum RatchetSyncState {
Ok,
Allowed,
Required,
Started,
Agreed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RatchetSyncState
impl Clone for RatchetSyncState
Source§fn clone(&self) -> RatchetSyncState
fn clone(&self) -> RatchetSyncState
Returns a duplicate 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 RatchetSyncState
impl Debug for RatchetSyncState
Source§impl Default for RatchetSyncState
impl Default for RatchetSyncState
Source§fn default() -> RatchetSyncState
fn default() -> RatchetSyncState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RatchetSyncState
impl<'de> Deserialize<'de> for RatchetSyncState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RatchetSyncState
impl Hash for RatchetSyncState
Source§impl PartialEq for RatchetSyncState
impl PartialEq for RatchetSyncState
Source§impl Serialize for RatchetSyncState
impl Serialize for RatchetSyncState
impl Copy for RatchetSyncState
impl Eq for RatchetSyncState
impl StructuralPartialEq for RatchetSyncState
Auto Trait Implementations§
impl Freeze for RatchetSyncState
impl RefUnwindSafe for RatchetSyncState
impl Send for RatchetSyncState
impl Sync for RatchetSyncState
impl Unpin for RatchetSyncState
impl UnwindSafe for RatchetSyncState
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