Enum iroh_blobs::get::fsm::BlobContentNext
source · pub enum BlobContentNext {
More((AtBlobContent, Result<BaoContentItem, DecodeError>)),
Done(AtEndBlob),
}
Expand description
The next state after reading a content item
Variants§
More((AtBlobContent, Result<BaoContentItem, DecodeError>))
We expect more content
Done(AtEndBlob)
We are done with this blob
Trait Implementations§
source§impl Debug for BlobContentNext
impl Debug for BlobContentNext
source§impl From<(AtBlobContent, Result<BaoContentItem, DecodeError>)> for BlobContentNext
impl From<(AtBlobContent, Result<BaoContentItem, DecodeError>)> for BlobContentNext
source§fn from(value: (AtBlobContent, Result<BaoContentItem, DecodeError>)) -> Self
fn from(value: (AtBlobContent, Result<BaoContentItem, DecodeError>)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for BlobContentNext
impl !RefUnwindSafe for BlobContentNext
impl Send for BlobContentNext
impl Sync for BlobContentNext
impl Unpin for BlobContentNext
impl !UnwindSafe for BlobContentNext
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