pub enum BlockPut {
NewBlock,
Existed,
}
Expand description
Describes the outcome of BlockStore::put_block
.
Variants§
Trait Implementations§
impl Eq for BlockPut
impl StructuralEq for BlockPut
impl StructuralPartialEq for BlockPut
Auto Trait Implementations§
impl RefUnwindSafe for BlockPut
impl Send for BlockPut
impl Sync for BlockPut
impl Unpin for BlockPut
impl UnwindSafe for BlockPut
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.