pub enum ConnectedNext<R: AsyncStreamReader> {
    StartRoot(AtStartRoot<R>),
    StartChild(AtStartChild<R>),
    Closing(AtClosing<R>),
}Expand description
Possible next states after the handshake has been sent
Variants§
StartRoot(AtStartRoot<R>)
First response is either a collection or a single blob
StartChild(AtStartChild<R>)
First response is a child
Closing(AtClosing<R>)
Request is empty
Trait Implementations§
Source§impl<R: Debug + AsyncStreamReader> Debug for ConnectedNext<R>
 
impl<R: Debug + AsyncStreamReader> Debug for ConnectedNext<R>
Source§impl<R: AsyncStreamReader> From<AtClosing<R>> for ConnectedNext<R>
 
impl<R: AsyncStreamReader> From<AtClosing<R>> for ConnectedNext<R>
Source§impl<R: AsyncStreamReader> From<AtStartChild<R>> for ConnectedNext<R>
 
impl<R: AsyncStreamReader> From<AtStartChild<R>> for ConnectedNext<R>
Source§fn from(value: AtStartChild<R>) -> Self
 
fn from(value: AtStartChild<R>) -> Self
Converts to this type from the input type.
Source§impl<R: AsyncStreamReader> From<AtStartRoot<R>> for ConnectedNext<R>
 
impl<R: AsyncStreamReader> 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 ConnectedNext<R>where
    R: Freeze,
impl<R> RefUnwindSafe for ConnectedNext<R>where
    R: RefUnwindSafe,
impl<R> Send for ConnectedNext<R>where
    R: Send,
impl<R> Sync for ConnectedNext<R>where
    R: Sync,
impl<R> Unpin for ConnectedNext<R>where
    R: Unpin,
impl<R> UnwindSafe for ConnectedNext<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