Struct wow_srp::header_crypto::EncrypterHalf[][src]

pub struct EncrypterHalf { /* fields omitted */ }
Expand description

Encryption part of a HeaderCrypto.

Intended to be kept with the writer half of a connection.

Use the Encrypter functions to encrypt.

Implementations

Tests whether both halves originate from the same HeaderCrypto and can be EncrypterHalf::unsplit.

Unsplits the two halves.

Errors

This will error if the two halfs do not originate from the same HeaderCrypto::split. This is a logic bug and should either lead to panic or some other highly visible event. If EncrypterHalf::is_pair_of returns true this will not error.

Trait Implementations

Formats the value using the given formatter. Read more

Use either the client or the server Write functions, or the client or the server array functions.

Convenience function for encrypting client headers. Read more

Convenience function for encrypting client headers. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.