pub enum DeviceRole {
Everyday,
Archive,
}Expand description
What a device does with the files of its spaces, as its user marked it (technical design).
Variants§
Everyday
An everyday device, such as a phone or a laptop: every device that is not marked.
Archive
An archive node, such as a NAS or a desktop, which keeps what policies assign it.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceRole
impl Clone for DeviceRole
impl Copy for DeviceRole
Source§impl Debug for DeviceRole
impl Debug for DeviceRole
Source§impl Default for DeviceRole
impl Default for DeviceRole
impl Eq for DeviceRole
Source§impl Hash for DeviceRole
impl Hash for DeviceRole
Source§impl Ord for DeviceRole
impl Ord for DeviceRole
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeviceRole
impl PartialEq for DeviceRole
Source§impl PartialOrd for DeviceRole
impl PartialOrd for DeviceRole
impl StructuralPartialEq for DeviceRole
Auto Trait Implementations§
impl Forget for DeviceRole
impl Freeze for DeviceRole
impl Move for DeviceRole
impl RefUnwindSafe for DeviceRole
impl Send for DeviceRole
impl Sync for DeviceRole
impl Unpin for DeviceRole
impl UnsafeUnpin for DeviceRole
impl UnwindSafe for DeviceRole
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