Struct tss_esapi::attributes::session::SessionAttributesMask
source · [−]pub struct SessionAttributesMask(pub TPMA_SESSION);
Expand description
Bitfield representing the session attributes mask.
Tuple Fields
0: TPMA_SESSION
Implementations
sourceimpl SessionAttributesMask
impl SessionAttributesMask
sourcepub const fn builder() -> SessionAttributesBuilder
pub const fn builder() -> SessionAttributesBuilder
Get a builder for the structure
Trait Implementations
sourceimpl<T> BitRange<T> for SessionAttributesMask where
TPMA_SESSION: BitRange<T>,
impl<T> BitRange<T> for SessionAttributesMask where
TPMA_SESSION: BitRange<T>,
sourceimpl Clone for SessionAttributesMask
impl Clone for SessionAttributesMask
sourcefn clone(&self) -> SessionAttributesMask
fn clone(&self) -> SessionAttributesMask
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 SessionAttributesMask
impl Debug for SessionAttributesMask
sourceimpl From<SessionAttributesMask> for TPMA_SESSION
impl From<SessionAttributesMask> for TPMA_SESSION
sourcefn from(session_attributes_mask: SessionAttributesMask) -> TPMA_SESSION
fn from(session_attributes_mask: SessionAttributesMask) -> TPMA_SESSION
Performs the conversion.
sourceimpl From<u8> for SessionAttributesMask
impl From<u8> for SessionAttributesMask
sourcefn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributesMask
fn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributesMask
Performs the conversion.
sourceimpl PartialEq<SessionAttributesMask> for SessionAttributesMask
impl PartialEq<SessionAttributesMask> for SessionAttributesMask
sourcefn eq(&self, other: &SessionAttributesMask) -> bool
fn eq(&self, other: &SessionAttributesMask) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SessionAttributesMask) -> bool
fn ne(&self, other: &SessionAttributesMask) -> bool
This method tests for !=
.
impl Copy for SessionAttributesMask
impl Eq for SessionAttributesMask
impl StructuralEq for SessionAttributesMask
impl StructuralPartialEq for SessionAttributesMask
Auto Trait Implementations
impl RefUnwindSafe for SessionAttributesMask
impl Send for SessionAttributesMask
impl Sync for SessionAttributesMask
impl Unpin for SessionAttributesMask
impl UnwindSafe for SessionAttributesMask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more