pub enum RoundResult<Object, Stream> {
WouldBlock(HandshakeMachine<Stream>),
Incomplete(HandshakeMachine<Stream>),
StageFinished(StageResult<Object, Stream>),
}Expand description
The result of the Round
Variants§
WouldBlock(HandshakeMachine<Stream>)
Round not done, I/O would block
Incomplete(HandshakeMachine<Stream>)
Round done, stage unchanged
StageFinished(StageResult<Object, Stream>)
Stage complete
Trait Implementations§
Auto Trait Implementations§
impl<Object, Stream> Freeze for RoundResult<Object, Stream>
impl<Object, Stream> RefUnwindSafe for RoundResult<Object, Stream>where
Stream: RefUnwindSafe,
Object: RefUnwindSafe,
impl<Object, Stream> Send for RoundResult<Object, Stream>
impl<Object, Stream> Sync for RoundResult<Object, Stream>
impl<Object, Stream> Unpin for RoundResult<Object, Stream>
impl<Object, Stream> UnwindSafe for RoundResult<Object, Stream>where
Stream: UnwindSafe,
Object: 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