Struct makiko::SessionReceiver
source · pub struct SessionReceiver { /* private fields */ }
Expand description
Receiving half of a Session
.
SessionReceiver
produces SessionEvent
s, which correspond to the requests and data sent
by the server on the channel. You can ignore these events if you don’t need them, but you
must receive them, otherwise the client will stall when the internal buffer of events fills
up.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SessionReceiver
impl Send for SessionReceiver
impl Sync for SessionReceiver
impl Unpin for SessionReceiver
impl !UnwindSafe for SessionReceiver
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