#[non_exhaustive]#[repr(u8)]pub enum AutoSyncFrequency {
Never = 0,
Occasionally = 1,
Frequent = 2,
OnceADay = 3,
Remote = 4,
}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 Clone for AutoSyncFrequency
impl Clone for AutoSyncFrequency
Source§fn clone(&self) -> AutoSyncFrequency
fn clone(&self) -> AutoSyncFrequency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutoSyncFrequency
impl Debug for AutoSyncFrequency
Source§impl Hash for AutoSyncFrequency
impl Hash for AutoSyncFrequency
Source§impl PartialEq for AutoSyncFrequency
impl PartialEq for AutoSyncFrequency
Source§fn eq(&self, other: &AutoSyncFrequency) -> bool
fn eq(&self, other: &AutoSyncFrequency) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AutoSyncFrequency
impl Eq for AutoSyncFrequency
impl StructuralPartialEq for AutoSyncFrequency
Auto Trait Implementations§
impl Freeze for AutoSyncFrequency
impl RefUnwindSafe for AutoSyncFrequency
impl Send for AutoSyncFrequency
impl Sync for AutoSyncFrequency
impl Unpin for AutoSyncFrequency
impl UnsafeUnpin for AutoSyncFrequency
impl UnwindSafe for AutoSyncFrequency
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