Struct tcp_stream::OwnedIdentity
source · pub struct OwnedIdentity {
pub der: Vec<u8>,
pub password: String,
}
Expand description
Holds PKCS#12 DER-encoded identity and decryption password
Fields§
§der: Vec<u8>
PKCS#12 DER-encoded identity
password: String
Decryption password
Implementations§
Trait Implementations§
source§impl Debug for OwnedIdentity
impl Debug for OwnedIdentity
source§impl PartialEq for OwnedIdentity
impl PartialEq for OwnedIdentity
source§fn eq(&self, other: &OwnedIdentity) -> bool
fn eq(&self, other: &OwnedIdentity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OwnedIdentity
Auto Trait Implementations§
impl RefUnwindSafe for OwnedIdentity
impl Send for OwnedIdentity
impl Sync for OwnedIdentity
impl Unpin for OwnedIdentity
impl UnwindSafe for OwnedIdentity
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