#[non_exhaustive]pub enum StateComponentPlacement {
Device,
Paged,
}Expand description
Physical placement selected for one semantic mutable-state component.
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.
Device
The mutable component remains on the execution device.
Paged
The append-only component is managed by bounded paged storage.
Trait Implementations§
Source§impl Clone for StateComponentPlacement
impl Clone for StateComponentPlacement
Source§fn clone(&self) -> StateComponentPlacement
fn clone(&self) -> StateComponentPlacement
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 StateComponentPlacement
Source§impl Debug for StateComponentPlacement
impl Debug for StateComponentPlacement
impl Eq for StateComponentPlacement
Source§impl Hash for StateComponentPlacement
impl Hash for StateComponentPlacement
Source§impl Ord for StateComponentPlacement
impl Ord for StateComponentPlacement
Source§fn cmp(&self, other: &StateComponentPlacement) -> Ordering
fn cmp(&self, other: &StateComponentPlacement) -> 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 StateComponentPlacement
impl PartialEq for StateComponentPlacement
Source§impl PartialOrd for StateComponentPlacement
impl PartialOrd for StateComponentPlacement
impl StructuralPartialEq for StateComponentPlacement
Auto Trait Implementations§
impl Freeze for StateComponentPlacement
impl RefUnwindSafe for StateComponentPlacement
impl Send for StateComponentPlacement
impl Sync for StateComponentPlacement
impl Unpin for StateComponentPlacement
impl UnsafeUnpin for StateComponentPlacement
impl UnwindSafe for StateComponentPlacement
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