Struct tss_esapi::handles::SessionHandle
source · [−]pub struct SessionHandle { /* private fields */ }Expand description
Session Handle
Represents an esys handle used for referencing session resources.
Implementations
sourceimpl SessionHandle
impl SessionHandle
sourceimpl SessionHandle
impl SessionHandle
pub const None: SessionHandle
sourceimpl SessionHandle
impl SessionHandle
sourceimpl SessionHandle
impl SessionHandle
pub const Password: SessionHandle
Trait Implementations
sourceimpl Clone for SessionHandle
impl Clone for SessionHandle
sourcefn clone(&self) -> SessionHandle
fn clone(&self) -> SessionHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SessionHandle
impl Debug for SessionHandle
sourceimpl From<AuthHandle> for SessionHandle
impl From<AuthHandle> for SessionHandle
sourcefn from(handle_other: AuthHandle) -> SessionHandle
fn from(handle_other: AuthHandle) -> SessionHandle
Converts to this type from the input type.
sourceimpl From<AuthSession> for SessionHandle
impl From<AuthSession> for SessionHandle
sourcefn from(auth_session: AuthSession) -> SessionHandle
fn from(auth_session: AuthSession) -> SessionHandle
Converts to this type from the input type.
sourceimpl From<ObjectHandle> for SessionHandle
impl From<ObjectHandle> for SessionHandle
sourcefn from(handle_other: ObjectHandle) -> SessionHandle
fn from(handle_other: ObjectHandle) -> SessionHandle
Converts to this type from the input type.
sourceimpl From<Option<AuthSession>> for SessionHandle
impl From<Option<AuthSession>> for SessionHandle
sourcefn from(optional_auth_session: Option<AuthSession>) -> SessionHandle
fn from(optional_auth_session: Option<AuthSession>) -> SessionHandle
Converts to this type from the input type.
sourceimpl From<PolicySession> for SessionHandle
impl From<PolicySession> for SessionHandle
sourcefn from(policy_session: PolicySession) -> SessionHandle
fn from(policy_session: PolicySession) -> SessionHandle
Converts to this type from the input type.
sourceimpl From<SessionHandle> for ESYS_TR
impl From<SessionHandle> for ESYS_TR
sourcefn from(handle: SessionHandle) -> ESYS_TR
fn from(handle: SessionHandle) -> ESYS_TR
Converts to this type from the input type.
sourceimpl From<SessionHandle> for ObjectHandle
impl From<SessionHandle> for ObjectHandle
sourcefn from(handle_self: SessionHandle) -> ObjectHandle
fn from(handle_self: SessionHandle) -> ObjectHandle
Converts to this type from the input type.
sourceimpl From<SessionHandle> for AuthHandle
impl From<SessionHandle> for AuthHandle
sourcefn from(handle_self: SessionHandle) -> AuthHandle
fn from(handle_self: SessionHandle) -> AuthHandle
Converts to this type from the input type.
sourceimpl From<u32> for SessionHandle
impl From<u32> for SessionHandle
sourcefn from(tss_esys_object_handle: ESYS_TR) -> SessionHandle
fn from(tss_esys_object_handle: ESYS_TR) -> SessionHandle
Converts to this type from the input type.
sourceimpl Hash for SessionHandle
impl Hash for SessionHandle
sourceimpl PartialEq<SessionHandle> for SessionHandle
impl PartialEq<SessionHandle> for SessionHandle
sourcefn eq(&self, other: &SessionHandle) -> bool
fn eq(&self, other: &SessionHandle) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SessionHandle) -> bool
fn ne(&self, other: &SessionHandle) -> bool
This method tests for !=.
impl Copy for SessionHandle
impl Eq for SessionHandle
impl StructuralEq for SessionHandle
impl StructuralPartialEq for SessionHandle
Auto Trait Implementations
impl RefUnwindSafe for SessionHandle
impl Send for SessionHandle
impl Sync for SessionHandle
impl Unpin for SessionHandle
impl UnwindSafe for SessionHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more