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
Source§fn clone(&self) -> DeviceRole
fn clone(&self) -> DeviceRole
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 moreimpl Copy for DeviceRole
Source§impl Debug for DeviceRole
impl Debug for DeviceRole
Source§impl Default for DeviceRole
impl Default for DeviceRole
Source§fn default() -> DeviceRole
fn default() -> DeviceRole
Returns the “default value” for a type. Read more
impl Eq for DeviceRole
Source§impl Hash for DeviceRole
impl Hash for DeviceRole
Source§impl Ord for DeviceRole
impl Ord for DeviceRole
Source§fn cmp(&self, other: &DeviceRole) -> Ordering
fn cmp(&self, other: &DeviceRole) -> Ordering
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.