Struct tss_esapi::handles::AuthHandle
source · [−]pub struct AuthHandle { /* private fields */ }Expand description
Auth handle
Represents an esys handle to resources that can be used for authentication.
Implementations
sourceimpl AuthHandle
impl AuthHandle
sourceimpl AuthHandle
impl AuthHandle
pub const Owner: AuthHandle = AuthHandle{value: ESYS_TR_RH_OWNER,}
sourceimpl AuthHandle
impl AuthHandle
pub const Lockout: AuthHandle = AuthHandle{value: ESYS_TR_RH_LOCKOUT,}
sourceimpl AuthHandle
impl AuthHandle
pub const Endorsement: AuthHandle = AuthHandle{value: ESYS_TR_RH_ENDORSEMENT,}
sourceimpl AuthHandle
impl AuthHandle
pub const Platform: AuthHandle = AuthHandle{value: ESYS_TR_RH_PLATFORM,}
Trait Implementations
sourceimpl Clone for AuthHandle
impl Clone for AuthHandle
sourcefn clone(&self) -> AuthHandle
fn clone(&self) -> AuthHandle
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 AuthHandle
impl Debug for AuthHandle
sourceimpl From<AuthHandle> for ESYS_TR
impl From<AuthHandle> for ESYS_TR
sourcefn from(handle: AuthHandle) -> ESYS_TR
fn from(handle: AuthHandle) -> ESYS_TR
Converts to this type from the input type.
sourceimpl From<AuthHandle> for ObjectHandle
impl From<AuthHandle> for ObjectHandle
sourcefn from(handle_self: AuthHandle) -> ObjectHandle
fn from(handle_self: AuthHandle) -> ObjectHandle
Converts to this type from the input type.
sourceimpl From<AuthHandle> for NvIndexHandle
impl From<AuthHandle> for NvIndexHandle
sourcefn from(handle_other: AuthHandle) -> NvIndexHandle
fn from(handle_other: AuthHandle) -> NvIndexHandle
Converts to this type from the input type.
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<Clear> for AuthHandle
impl From<Clear> for AuthHandle
sourcefn from(clear: Clear) -> AuthHandle
fn from(clear: Clear) -> AuthHandle
Converts to this type from the input type.
sourceimpl From<NvAuth> for AuthHandle
impl From<NvAuth> for AuthHandle
sourcefn from(nv_auth: NvAuth) -> AuthHandle
fn from(nv_auth: NvAuth) -> AuthHandle
Converts to this type from the input type.
sourceimpl From<NvIndexHandle> for AuthHandle
impl From<NvIndexHandle> for AuthHandle
sourcefn from(handle_self: NvIndexHandle) -> AuthHandle
fn from(handle_self: NvIndexHandle) -> AuthHandle
Converts to this type from the input type.
sourceimpl From<ObjectHandle> for AuthHandle
impl From<ObjectHandle> for AuthHandle
sourcefn from(handle_other: ObjectHandle) -> AuthHandle
fn from(handle_other: ObjectHandle) -> AuthHandle
Converts to this type from the input type.
sourceimpl From<Platform> for AuthHandle
impl From<Platform> for AuthHandle
sourcefn from(_: Platform) -> AuthHandle
fn from(_: Platform) -> AuthHandle
Converts to this type from the input type.
sourceimpl From<Provision> for AuthHandle
impl From<Provision> for AuthHandle
sourcefn from(provision: Provision) -> AuthHandle
fn from(provision: Provision) -> AuthHandle
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 AuthHandle
impl From<u32> for AuthHandle
sourcefn from(tss_esys_object_handle: ESYS_TR) -> AuthHandle
fn from(tss_esys_object_handle: ESYS_TR) -> AuthHandle
Converts to this type from the input type.
sourceimpl Hash for AuthHandle
impl Hash for AuthHandle
sourceimpl PartialEq<AuthHandle> for AuthHandle
impl PartialEq<AuthHandle> for AuthHandle
sourcefn eq(&self, other: &AuthHandle) -> bool
fn eq(&self, other: &AuthHandle) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AuthHandle) -> bool
fn ne(&self, other: &AuthHandle) -> bool
This method tests for !=.
sourceimpl TryFrom<AuthHandle> for Platform
impl TryFrom<AuthHandle> for Platform
sourceimpl TryFrom<AuthHandle> for Provision
impl TryFrom<AuthHandle> for Provision
sourceimpl TryFrom<AuthHandle> for Clear
impl TryFrom<AuthHandle> for Clear
sourceimpl TryFrom<AuthHandle> for NvAuth
impl TryFrom<AuthHandle> for NvAuth
impl Copy for AuthHandle
impl Eq for AuthHandle
impl StructuralEq for AuthHandle
impl StructuralPartialEq for AuthHandle
Auto Trait Implementations
impl RefUnwindSafe for AuthHandle
impl Send for AuthHandle
impl Sync for AuthHandle
impl Unpin for AuthHandle
impl UnwindSafe for AuthHandle
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