Enum marker_api::common::Syncness
source · #[non_exhaustive]#[repr(C)]pub enum Syncness {
Sync = 0,
Async = 1,
}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.
Implementations§
Trait Implementations§
source§impl Ord for Syncness
impl Ord for Syncness
source§impl PartialEq for Syncness
impl PartialEq for Syncness
source§impl PartialOrd for Syncness
impl PartialOrd for Syncness
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Syncness
impl Eq for Syncness
impl StructuralEq for Syncness
impl StructuralPartialEq for Syncness
Auto Trait Implementations§
impl RefUnwindSafe for Syncness
impl Send for Syncness
impl Sync for Syncness
impl Unpin for Syncness
impl UnwindSafe for Syncness
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