Enum sn_messaging::client::ClientMsg [−][src]
pub enum ClientMsg { Process(ProcessMsg), ProcessingError(ProcessingError), SupportingInfo(SupportingInfo), }
Variants
Process(ProcessMsg)
ProcessingError(ProcessingError)
SupportingInfo(SupportingInfo)
Implementations
Message envelope containing a Safe message payload, This struct also provides utilities to obtain the serialized bytes ready to send them over the wire.
Convenience function to deserialize a ‘Message’ from bytes received over the wire. It returns an error if the bytes don’t correspond to a client message.
Serialize this Message into bytes ready to be sent over the wire.
return ProcessMessage if any
return ProcessMessage if any
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 ClientMsg
impl UnwindSafe for ClientMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V