pub enum LoginRequestEncryption {
Clear,
Client(Arc<RsaPublicKey>),
Server(Arc<RsaPrivateKey>),
}Expand description
Describe the type of encryption to use for encoding/decoding a login request. This must be provided as configuration when writing or reading the element.
Variants§
Clear
Clear transmission between server and client.
Client(Arc<RsaPublicKey>)
Encrypted encoding.
Server(Arc<RsaPrivateKey>)
Encrypted decoding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoginRequestEncryption
impl RefUnwindSafe for LoginRequestEncryption
impl Send for LoginRequestEncryption
impl Sync for LoginRequestEncryption
impl Unpin for LoginRequestEncryption
impl UnwindSafe for LoginRequestEncryption
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