pub enum MsgType<P, S, R, E> {
Post(P),
Request(S, ReplyContext<R, E>),
}
Expand description
Mesage operation types.
Variants§
Post(P)
A uni-directional message pass.
Request(S, ReplyContext<R, E>)
A message pass that expects a reply.
Trait Implementations§
Auto Trait Implementations§
impl<P, S, R, E> Freeze for MsgType<P, S, R, E>
impl<P, S, R, E> !RefUnwindSafe for MsgType<P, S, R, E>
impl<P, S, R, E> Send for MsgType<P, S, R, E>
impl<P, S, R, E> Sync for MsgType<P, S, R, E>
impl<P, S, R, E> Unpin for MsgType<P, S, R, E>
impl<P, S, R, E> !UnwindSafe for MsgType<P, S, R, E>
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