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