pub enum MessagePayload {
Start,
Stop,
Custom(Vec<u8>),
Signal(Signal),
Empty,
}Expand description
Payload of a message.
Variants§
Start
Start the actor
Stop
Stop the actor
Custom(Vec<u8>)
Custom binary payload
Signal(Signal)
System signal
Empty
Default (empty)
Trait Implementations§
Source§impl Clone for MessagePayload
impl Clone for MessagePayload
Source§impl Debug for MessagePayload
impl Debug for MessagePayload
Auto Trait Implementations§
impl Freeze for MessagePayload
impl RefUnwindSafe for MessagePayload
impl Send for MessagePayload
impl Sync for MessagePayload
impl Unpin for MessagePayload
impl UnsafeUnpin for MessagePayload
impl UnwindSafe for MessagePayload
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