pub enum DeviceTier {
Constrained,
Standard,
Performance,
}Expand description
Device tier classification
Variants§
Constrained
IoT, drones, ESP32, STM32, old mobile phones ~520KB RAM, no HW AES, limited CPU
Standard
Smartphones, Raspberry Pi, SBCs 1-4GB RAM, may or may not have HW AES
Performance
Servers, desktops, modern laptops 8+GB RAM, HW AES available
Trait Implementations§
Source§impl Clone for DeviceTier
impl Clone for DeviceTier
Source§fn clone(&self) -> DeviceTier
fn clone(&self) -> DeviceTier
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 DeviceTier
Source§impl Debug for DeviceTier
impl Debug for DeviceTier
impl Eq for DeviceTier
Source§impl PartialEq for DeviceTier
impl PartialEq for DeviceTier
Source§fn eq(&self, other: &DeviceTier) -> bool
fn eq(&self, other: &DeviceTier) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceTier
Auto Trait Implementations§
impl Freeze for DeviceTier
impl RefUnwindSafe for DeviceTier
impl Send for DeviceTier
impl Sync for DeviceTier
impl Unpin for DeviceTier
impl UnsafeUnpin for DeviceTier
impl UnwindSafe for DeviceTier
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