Struct kvproto::backup::StorageBackend[][src]

pub struct StorageBackend {
    pub backend: Option<StorageBackend_oneof_backend>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

backend: Option<StorageBackend_oneof_backend>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl StorageBackend[src]

pub fn new() -> StorageBackend[src]

pub fn get_noop(&self) -> &Noop[src]

pub fn clear_noop(&mut self)[src]

pub fn has_noop(&self) -> bool[src]

pub fn set_noop(&mut self, v: Noop)[src]

pub fn mut_noop(&mut self) -> &mut Noop[src]

pub fn take_noop(&mut self) -> Noop[src]

pub fn get_local(&self) -> &Local[src]

pub fn clear_local(&mut self)[src]

pub fn has_local(&self) -> bool[src]

pub fn set_local(&mut self, v: Local)[src]

pub fn mut_local(&mut self) -> &mut Local[src]

pub fn take_local(&mut self) -> Local[src]

pub fn get_s3(&self) -> &S3[src]

pub fn clear_s3(&mut self)[src]

pub fn has_s3(&self) -> bool[src]

pub fn set_s3(&mut self, v: S3)[src]

pub fn mut_s3(&mut self) -> &mut S3[src]

pub fn take_s3(&mut self) -> S3[src]

pub fn get_gcs(&self) -> &Gcs[src]

pub fn clear_gcs(&mut self)[src]

pub fn has_gcs(&self) -> bool[src]

pub fn set_gcs(&mut self, v: Gcs)[src]

pub fn mut_gcs(&mut self) -> &mut Gcs[src]

pub fn take_gcs(&mut self) -> Gcs[src]

pub fn get_cloud_dynamic(&self) -> &CloudDynamic[src]

pub fn clear_cloud_dynamic(&mut self)[src]

pub fn has_cloud_dynamic(&self) -> bool[src]

pub fn set_cloud_dynamic(&mut self, v: CloudDynamic)[src]

pub fn mut_cloud_dynamic(&mut self) -> &mut CloudDynamic[src]

pub fn take_cloud_dynamic(&mut self) -> CloudDynamic[src]

Trait Implementations

impl Clear for StorageBackend[src]

impl Clone for StorageBackend[src]

impl Debug for StorageBackend[src]

impl Default for StorageBackend[src]

impl<'a> Default for &'a StorageBackend[src]

impl Message for StorageBackend[src]

impl PartialEq<StorageBackend> for StorageBackend[src]

impl PbPrint for StorageBackend[src]

impl ProtobufValue for StorageBackend[src]

impl StructuralPartialEq for StorageBackend[src]

Auto Trait Implementations

impl RefUnwindSafe for StorageBackend

impl Send for StorageBackend

impl Sync for StorageBackend

impl Unpin for StorageBackend

impl UnwindSafe for StorageBackend

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.