[−][src]Enum tss_esapi::session::Session
Enum representing the different types of sessions.
Variants
Hmac(HmacSession)
Policy(PolicySession)
Trial(TrialSession)
Implementations
impl Session
[src]
pub fn handle(&self) -> SessionHandle
[src]
pub fn auth_hash(&self) -> HashingAlgorithm
[src]
pub fn session_type(&self) -> SessionType
[src]
Trait Implementations
impl Clone for Session
[src]
impl Copy for Session
[src]
impl Debug for Session
[src]
impl Eq for Session
[src]
impl From<HmacSession> for Session
[src]
fn from(specific_session: HmacSession) -> Session
[src]
impl From<PolicySession> for Session
[src]
fn from(specific_session: PolicySession) -> Session
[src]
impl From<TrialSession> for Session
[src]
fn from(specific_session: TrialSession) -> Session
[src]
impl PartialEq<Session> for Session
[src]
impl StructuralEq for Session
[src]
impl StructuralPartialEq for Session
[src]
impl TryFrom<Session> for HmacSession
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(session: Session) -> Result<HmacSession>
[src]
impl TryFrom<Session> for PolicySession
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(session: Session) -> Result<PolicySession>
[src]
impl TryFrom<Session> for TrialSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Free for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,