Enum garage_model::bucket_table::BucketState [−][src]
pub enum BucketState {
Deleted,
Present(BucketParams),
}
Expand description
State of a bucket
Variants
The bucket is deleted
Present(BucketParams)
The bucket exists
Tuple Fields of Present
0: BucketParams
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BucketState
impl Send for BucketState
impl Sync for BucketState
impl Unpin for BucketState
impl UnwindSafe for BucketState
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more