pub struct PskIdentity(pub Vec<u8>);
Expand description
A TLS PSK identity.
Used in conjunction with ntex_io::Filter::query
:
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
source§impl Clone for PskIdentity
impl Clone for PskIdentity
source§fn clone(&self) -> PskIdentity
fn clone(&self) -> PskIdentity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PskIdentity
impl Debug for PskIdentity
source§impl Hash for PskIdentity
impl Hash for PskIdentity
source§impl PartialEq for PskIdentity
impl PartialEq for PskIdentity
impl Eq for PskIdentity
impl StructuralPartialEq for PskIdentity
Auto Trait Implementations§
impl Freeze for PskIdentity
impl RefUnwindSafe for PskIdentity
impl Send for PskIdentity
impl Sync for PskIdentity
impl Unpin for PskIdentity
impl UnwindSafe for PskIdentity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)