pub enum PersistentStorageOperation {
Save(String, Data),
AppendOrCreate(String, Data),
Load(String),
}Variants§
Trait Implementations§
Source§impl Clone for PersistentStorageOperation
impl Clone for PersistentStorageOperation
Source§fn clone(&self) -> PersistentStorageOperation
fn clone(&self) -> PersistentStorageOperation
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 PersistentStorageOperation
impl Debug for PersistentStorageOperation
Source§impl<'de> Deserialize<'de> for PersistentStorageOperation
impl<'de> Deserialize<'de> for PersistentStorageOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Operation for PersistentStorageOperation
impl Operation for PersistentStorageOperation
Source§type Output = PersistentStorageOutput
type Output = PersistentStorageOutput
Output assigns the type this request results in.impl Eq for PersistentStorageOperation
impl StructuralPartialEq for PersistentStorageOperation
Auto Trait Implementations§
impl Freeze for PersistentStorageOperation
impl RefUnwindSafe for PersistentStorageOperation
impl Send for PersistentStorageOperation
impl Sync for PersistentStorageOperation
impl Unpin for PersistentStorageOperation
impl UnwindSafe for PersistentStorageOperation
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