pub struct SessionHandle {
pub session_id: String,
pub receiver: Receiver<String>,
}
Expand description
A handle to a session’s message stream
Fields§
§session_id: String
§receiver: Receiver<String>
Auto Trait Implementations§
impl Freeze for SessionHandle
impl !RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl !UnwindSafe for SessionHandle
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