pub enum StorageEngine {
Storage,
Ipfs,
}Expand description
User’s choice of storage backend for file uploads.
Distinct from StorageBackend, which pairs the engine choice with the
file hash and is used for serde of StoreContent.
Variants§
Trait Implementations§
Source§impl Clone for StorageEngine
impl Clone for StorageEngine
Source§fn clone(&self) -> StorageEngine
fn clone(&self) -> StorageEngine
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 moreSource§impl Debug for StorageEngine
impl Debug for StorageEngine
Source§impl PartialEq for StorageEngine
impl PartialEq for StorageEngine
Source§fn eq(&self, other: &StorageEngine) -> bool
fn eq(&self, other: &StorageEngine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StorageEngine
impl Eq for StorageEngine
impl StructuralPartialEq for StorageEngine
Auto Trait Implementations§
impl Freeze for StorageEngine
impl RefUnwindSafe for StorageEngine
impl Send for StorageEngine
impl Sync for StorageEngine
impl Unpin for StorageEngine
impl UnsafeUnpin for StorageEngine
impl UnwindSafe for StorageEngine
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