pub struct MessageProtocol<A: Address, M>(/* private fields */);Expand description
Reusable zero-state protocol identity for messages M addressed by A.
This value has no runtime operations. It lets an actor template publish its communication signature independently of the concrete state/fold type that currently implements that signature.
Trait Implementations§
Auto Trait Implementations§
impl<A, M> Freeze for MessageProtocol<A, M>
impl<A, M> RefUnwindSafe for MessageProtocol<A, M>
impl<A, M> Send for MessageProtocol<A, M>
impl<A, M> Sync for MessageProtocol<A, M>
impl<A, M> Unpin for MessageProtocol<A, M>
impl<A, M> UnsafeUnpin for MessageProtocol<A, M>
impl<A, M> UnwindSafe for MessageProtocol<A, M>
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