Struct tcp_stream::Identity
source · pub struct Identity<'der, 'pass> {
pub der: &'der [u8],
pub password: &'pass str,
}
Expand description
Holds PKCS#12 DER-encoded identity and decryption password
Fields§
§der: &'der [u8]
PKCS#12 DER-encoded identity
password: &'pass str
Decryption password
Trait Implementations§
source§impl<'der, 'pass> PartialEq for Identity<'der, 'pass>
impl<'der, 'pass> PartialEq for Identity<'der, 'pass>
impl<'der, 'pass> StructuralPartialEq for Identity<'der, 'pass>
Auto Trait Implementations§
impl<'der, 'pass> RefUnwindSafe for Identity<'der, 'pass>
impl<'der, 'pass> Send for Identity<'der, 'pass>
impl<'der, 'pass> Sync for Identity<'der, 'pass>
impl<'der, 'pass> Unpin for Identity<'der, 'pass>
impl<'der, 'pass> UnwindSafe for Identity<'der, 'pass>
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