pub enum ProtectionMode {
Personal,
Unknown,
}
Expand description
The protection mode of the sync root registration.
Variants§
Personal
The sync root should only contain personal files, not encrypted or business related files.
Unknown
The sync root can contain any type of file.
Trait Implementations§
Source§impl Clone for ProtectionMode
impl Clone for ProtectionMode
Source§fn clone(&self) -> ProtectionMode
fn clone(&self) -> ProtectionMode
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 ProtectionMode
impl Debug for ProtectionMode
Source§impl From<ProtectionMode> for StorageProviderProtectionMode
impl From<ProtectionMode> for StorageProviderProtectionMode
Source§fn from(mode: ProtectionMode) -> Self
fn from(mode: ProtectionMode) -> Self
Converts to this type from the input type.
Source§impl From<StorageProviderProtectionMode> for ProtectionMode
impl From<StorageProviderProtectionMode> for ProtectionMode
Source§impl PartialEq for ProtectionMode
impl PartialEq for ProtectionMode
impl Copy for ProtectionMode
impl Eq for ProtectionMode
impl StructuralPartialEq for ProtectionMode
Auto Trait Implementations§
impl Freeze for ProtectionMode
impl RefUnwindSafe for ProtectionMode
impl Send for ProtectionMode
impl Sync for ProtectionMode
impl Unpin for ProtectionMode
impl UnwindSafe for ProtectionMode
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