Enum iroh_blobs::store::BaoBlobSize  
source · pub enum BaoBlobSize {
    Unverified(u64),
    Verified(u64),
}Expand description
The size of a bao file
Variants§
Unverified(u64)
A remote side told us the size, but we have insufficient data to verify it.
Verified(u64)
We have verified the size.
Implementations§
Trait Implementations§
source§impl Clone for BaoBlobSize
 
impl Clone for BaoBlobSize
source§fn clone(&self) -> BaoBlobSize
 
fn clone(&self) -> BaoBlobSize
Returns a copy 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 moresource§impl Debug for BaoBlobSize
 
impl Debug for BaoBlobSize
source§impl<'de> Deserialize<'de> for BaoBlobSize
 
impl<'de> Deserialize<'de> for BaoBlobSize
source§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
source§impl PartialEq for BaoBlobSize
 
impl PartialEq for BaoBlobSize
source§fn eq(&self, other: &BaoBlobSize) -> bool
 
fn eq(&self, other: &BaoBlobSize) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for BaoBlobSize
 
impl Serialize for BaoBlobSize
impl Copy for BaoBlobSize
impl Eq for BaoBlobSize
impl StructuralPartialEq for BaoBlobSize
Auto Trait Implementations§
impl Freeze for BaoBlobSize
impl RefUnwindSafe for BaoBlobSize
impl Send for BaoBlobSize
impl Sync for BaoBlobSize
impl Unpin for BaoBlobSize
impl UnwindSafe for BaoBlobSize
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<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
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more