Enum routing::AccountPacket [−][src]
pub enum AccountPacket { WithInvitation { invitation_string: String, acc_pkt: Vec<u8>, }, AccPkt(Vec<u8>), }
Account packet that is used to provide an invitation code for registration.
After successful registration it should be replaced with AccountPacket::AccPkt
with the contents of account_ciphertext
as soon as possible to prevent an
invitation code leak.
Variants
WithInvitation
Account data with an invitation code that is used for registration.
Fields of WithInvitation
invitation_string: String | Invitation code. |
acc_pkt: Vec<u8> | Encrypted account data. |
AccPkt(Vec<u8>)
Encrypted account data.
Auto Trait Implementations
impl Send for AccountPacket
impl Send for AccountPacket
impl Sync for AccountPacket
impl Sync for AccountPacket