Struct mpc_protocol::SealedEnvelope
source · pub struct SealedEnvelope {
pub encoding: Encoding,
pub chunks: Vec<Chunk>,
pub broadcast: bool,
}Expand description
Sealed envelope is an encrypted message.
The payload has been encrypted using the noise protocol channel and the recipient must decrypt and decode the payload.
Fields§
§encoding: EncodingEncoding for the payload.
chunks: Vec<Chunk>Encrypted chunks.
broadcast: boolWhether this is a broadcast message.
Trait Implementations§
source§impl Debug for SealedEnvelope
impl Debug for SealedEnvelope
source§impl Decodable for SealedEnvelope
impl Decodable for SealedEnvelope
source§impl Default for SealedEnvelope
impl Default for SealedEnvelope
source§fn default() -> SealedEnvelope
fn default() -> SealedEnvelope
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SealedEnvelope
impl Send for SealedEnvelope
impl Sync for SealedEnvelope
impl Unpin for SealedEnvelope
impl UnwindSafe for SealedEnvelope
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