Enum iroh_blobs::rpc::client::blobs::BlobStatus    
source · pub enum BlobStatus {
    NotFound,
    Partial {
        size: BaoBlobSize,
    },
    Complete {
        size: u64,
    },
}Available on crate feature 
rpc only.Expand description
Status information about a blob.
Variants§
NotFound
The blob is not stored at all.
Partial
The blob is only stored partially.
Fields
§
size: BaoBlobSizeThe size of the currently stored partial blob.
Complete
The blob is stored completely.
Trait Implementations§
source§impl Clone for BlobStatus
 
impl Clone for BlobStatus
source§fn clone(&self) -> BlobStatus
 
fn clone(&self) -> BlobStatus
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 BlobStatus
 
impl Debug for BlobStatus
source§impl<'de> Deserialize<'de> for BlobStatus
 
impl<'de> Deserialize<'de> for BlobStatus
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 From<BlobStatus> for BlobStatusResponse
 
impl From<BlobStatus> for BlobStatusResponse
source§fn from(value: BlobStatus) -> Self
 
fn from(value: BlobStatus) -> Self
Converts to this type from the input type.
source§impl From<BlobStatusResponse> for BlobStatus
 
impl From<BlobStatusResponse> for BlobStatus
source§fn from(value: BlobStatusResponse) -> Self
 
fn from(value: BlobStatusResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq for BlobStatus
 
impl PartialEq for BlobStatus
source§fn eq(&self, other: &BlobStatus) -> bool
 
fn eq(&self, other: &BlobStatus) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for BlobStatus
 
impl Serialize for BlobStatus
impl Eq for BlobStatus
impl StructuralPartialEq for BlobStatus
Auto Trait Implementations§
impl Freeze for BlobStatus
impl RefUnwindSafe for BlobStatus
impl Send for BlobStatus
impl Sync for BlobStatus
impl Unpin for BlobStatus
impl UnwindSafe for BlobStatus
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