Enum r2d2_cryptoki::SessionType
source · pub enum SessionType {
RoPublic,
RoUser(AuthPin),
RwPublic,
RwUser(AuthPin),
RwSecurityOfficer(AuthPin),
}
Expand description
Session types, holding the pin for the authenticated sessions
Variants§
Trait Implementations§
source§impl Clone for SessionType
impl Clone for SessionType
source§fn clone(&self) -> SessionType
fn clone(&self) -> SessionType
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 moreAuto Trait Implementations§
impl Freeze for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnwindSafe for SessionType
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