Enum tungstenite::handshake::machine::StageResult
source · pub enum StageResult<Obj, Stream> {
DoneReading {
result: Obj,
stream: Stream,
tail: Vec<u8>,
},
DoneWriting(Stream),
}
Expand description
The result of the stage.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<Obj, Stream> Freeze for StageResult<Obj, Stream>
impl<Obj, Stream> RefUnwindSafe for StageResult<Obj, Stream>where
Obj: RefUnwindSafe,
Stream: RefUnwindSafe,
impl<Obj, Stream> Send for StageResult<Obj, Stream>
impl<Obj, Stream> Sync for StageResult<Obj, Stream>
impl<Obj, Stream> Unpin for StageResult<Obj, Stream>
impl<Obj, Stream> UnwindSafe for StageResult<Obj, Stream>where
Obj: UnwindSafe,
Stream: 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