pub enum MsgType<P, S, R, E> {
Put(P),
Request(S, ReplyContext<R, E>),
}
Expand description
Mesage operation types.
Variants§
Put(P)
A uni-directional message pass.
Request(S, ReplyContext<R, E>)
A message pass that expects a reply.
Auto Trait Implementations§
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