Struct cold_iron::crypt::Message [−]
pub struct Message<T> { /* fields omitted */ }
Expand description
Message represents an unencrypted message of cryptothaumatic origin or destination
Implementations
impl<T> Message<T>
impl<T> Message<T>
Try to convert a message from a standard wire format
Try to convert a message to the standard wire format
Returns the author of the message. If the message is anonymous or the author can be verified, returns an error.
pub fn message(&self) -> Result<T, ThaumError>
pub fn message(&self) -> Result<T, ThaumError>
Unwraps the inner message