pub enum EndBlobNext<R: AsyncStreamReader = IrohStreamReader> {
    MoreChildren(AtStartChild<R>),
    Closing(AtClosing<R>),
}Expand description
The next state after the end of a blob
Variants§
MoreChildren(AtStartChild<R>)
Response is expected to have more children
Closing(AtClosing<R>)
No more children expected
Trait Implementations§
Source§impl<R: Debug + AsyncStreamReader> Debug for EndBlobNext<R>
 
impl<R: Debug + AsyncStreamReader> Debug for EndBlobNext<R>
Source§impl<R: AsyncStreamReader> From<AtClosing<R>> for EndBlobNext<R>
 
impl<R: AsyncStreamReader> From<AtClosing<R>> for EndBlobNext<R>
Source§impl<R: AsyncStreamReader> From<AtStartChild<R>> for EndBlobNext<R>
 
impl<R: AsyncStreamReader> From<AtStartChild<R>> for EndBlobNext<R>
Source§fn from(value: AtStartChild<R>) -> Self
 
fn from(value: AtStartChild<R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<R> Freeze for EndBlobNext<R>where
    R: Freeze,
impl<R> RefUnwindSafe for EndBlobNext<R>where
    R: RefUnwindSafe,
impl<R> Send for EndBlobNext<R>where
    R: Send,
impl<R> Sync for EndBlobNext<R>where
    R: Sync,
impl<R> Unpin for EndBlobNext<R>where
    R: Unpin,
impl<R> UnwindSafe for EndBlobNext<R>where
    R: UnwindSafe,
Blanket Implementations§
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