pub enum StorageEndpointInstance {
    Znippy {
        path: PathBuf,
    },
    Rocksdb {
        path: PathBuf,
    },
}Expand description
Represents a fully resolved storage backend.
Variants§
Implementations§
Source§impl StorageEndpointInstance
 
impl StorageEndpointInstance
pub fn from_config(config: &StorageEndpoint) -> Result<Self>
Trait Implementations§
Source§impl Clone for StorageEndpointInstance
 
impl Clone for StorageEndpointInstance
Source§fn clone(&self) -> StorageEndpointInstance
 
fn clone(&self) -> StorageEndpointInstance
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StorageEndpointInstance
impl RefUnwindSafe for StorageEndpointInstance
impl Send for StorageEndpointInstance
impl Sync for StorageEndpointInstance
impl Unpin for StorageEndpointInstance
impl UnwindSafe for StorageEndpointInstance
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