#[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 PartialOrd for Syncness
impl PartialOrd for Syncness
impl Copy for Syncness
impl Eq for Syncness
impl StructuralPartialEq for Syncness
Auto Trait Implementations§
impl Freeze for Syncness
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