Struct glimesh_protocol::socket::SocketSession [−][src]
Implementations
pub fn subscribe<B>(&mut self, reference: T, body: B) -> Vec<SessionResult<T>> where
B: Serialize,
pub fn handle_message(
&mut self,
msg: &str
) -> Result<Vec<SessionResult<T>>, HandleMessageError>
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for SocketSession<T>
impl<T> Send for SocketSession<T> where
T: Send,
impl<T> Sync for SocketSession<T> where
T: Sync,
impl<T> Unpin for SocketSession<T> where
T: Unpin,
impl<T> UnwindSafe for SocketSession<T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more