Expand description
The Mail enum which could be Trade(single message), Bulk(multiple messages) or Blank
Variants
Trade(Msg)
A mail variant with a single message inside. Actor’s receives this variant
Bulk(Vec<Msg>)
Contains multiple messages - used for buffering, single shot transmission over the wire
Blank
An empty mail
Implementations
Get a handle to inner messages without hollowing out the mail
If the mail is actually a command - does it match a specific command
Is the mail is actually a containing a single command like Shutdown etc?
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Mail
impl UnwindSafe for Mail
Blanket Implementations
Mutably borrows from an owned value. Read more