pub struct AtStartRoot<R: RecvStream = RecvStream> { /* private fields */ }Expand description
State of the get response when we start reading a collection
Implementations§
Source§impl<R: RecvStream> AtStartRoot<R>
 
impl<R: RecvStream> AtStartRoot<R>
Sourcepub fn ranges(&self) -> &ChunkRanges
 
pub fn ranges(&self) -> &ChunkRanges
The ranges we have requested for the child
Sourcepub fn next(self) -> AtBlobHeader<R>
 
pub fn next(self) -> AtBlobHeader<R>
Go into the next state, reading the header
For the collection we already know the hash, since it was part of the request
Trait Implementations§
Source§impl<R: Debug + RecvStream> Debug for AtStartRoot<R>
 
impl<R: Debug + RecvStream> Debug for AtStartRoot<R>
Source§impl<R: RecvStream> From<AtStartRoot<R>> for ConnectedNext<R>
 
impl<R: RecvStream> From<AtStartRoot<R>> for ConnectedNext<R>
Source§fn from(value: AtStartRoot<R>) -> Self
 
fn from(value: AtStartRoot<R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<R> Freeze for AtStartRoot<R>where
    R: Freeze,
impl<R> RefUnwindSafe for AtStartRoot<R>where
    R: RefUnwindSafe,
impl<R> Send for AtStartRoot<R>
impl<R> Sync for AtStartRoot<R>where
    R: Sync,
impl<R> Unpin for AtStartRoot<R>where
    R: Unpin,
impl<R> UnwindSafe for AtStartRoot<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