Enum RoundResult

enum RoundResult<Obj, Stream>

The result of the round.

Variants

WouldBlock(HandshakeMachine<Stream>)

Round not done, I/O would block.

Incomplete(HandshakeMachine<Stream>)

Round done, state unchanged.

StageFinished(StageResult<Obj, Stream>)

Stage complete.

Implementations

impl<Obj, Stream> Freeze for RoundResult<Obj, Stream>

impl<Obj, Stream> RefUnwindSafe for RoundResult<Obj, Stream>

impl<Obj, Stream> Send for RoundResult<Obj, Stream>

impl<Obj, Stream> Sync for RoundResult<Obj, Stream>

impl<Obj, Stream> Unpin for RoundResult<Obj, Stream>

impl<Obj, Stream> UnsafeUnpin for RoundResult<Obj, Stream>

impl<Obj, Stream> UnwindSafe for RoundResult<Obj, Stream>

impl<Obj: $crate::fmt::Debug, Stream: $crate::fmt::Debug> Debug for RoundResult<Obj, Stream>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<T> Any for RoundResult<Obj, Stream>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for RoundResult<Obj, Stream>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for RoundResult<Obj, Stream>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for RoundResult<Obj, Stream>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for RoundResult<Obj, Stream>

impl<T, U> Into for RoundResult<Obj, Stream>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for RoundResult<Obj, Stream>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for RoundResult<Obj, Stream>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for RoundResult<Obj, Stream>

fn vzip(self: Self) -> V