pub struct MessageChannel {
pub id: String,
pub stream: WebSocketStream<MaybeTlsStream<TcpStream>>,
}
Fields§
§id: String
§stream: WebSocketStream<MaybeTlsStream<TcpStream>>
Implementations§
Auto Trait Implementations§
impl !Freeze for MessageChannel
impl !RefUnwindSafe for MessageChannel
impl Send for MessageChannel
impl Sync for MessageChannel
impl Unpin for MessageChannel
impl !UnwindSafe for MessageChannel
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