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

Account data with an invitation code that is used for registration.

Fields of WithInvitation

Invitation code.

Encrypted account data.

Encrypted account data.

Auto Trait Implementations