Enum iroh_blobs::get::progress::BlobProgress
source · pub enum BlobProgress {
Pending,
Progressing(u64),
Done,
}
Expand description
Progress state for a single blob
Variants§
Trait Implementations§
source§impl Clone for BlobProgress
impl Clone for BlobProgress
source§fn clone(&self) -> BlobProgress
fn clone(&self) -> BlobProgress
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 BlobProgress
impl Debug for BlobProgress
source§impl Default for BlobProgress
impl Default for BlobProgress
source§fn default() -> BlobProgress
fn default() -> BlobProgress
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BlobProgress
impl<'de> Deserialize<'de> for BlobProgress
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 BlobProgress
impl PartialEq for BlobProgress
source§fn eq(&self, other: &BlobProgress) -> bool
fn eq(&self, other: &BlobProgress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BlobProgress
impl Serialize for BlobProgress
impl Eq for BlobProgress
impl StructuralPartialEq for BlobProgress
Auto Trait Implementations§
impl Freeze for BlobProgress
impl RefUnwindSafe for BlobProgress
impl Send for BlobProgress
impl Sync for BlobProgress
impl Unpin for BlobProgress
impl UnwindSafe for BlobProgress
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
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.