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§
source§impl SessionAttributesMask
impl SessionAttributesMask
sourcepub const fn builder() -> SessionAttributesBuilder
pub const fn builder() -> SessionAttributesBuilder
Get a builder for the structure
Trait Implementations§
source§impl<T> BitRange<T> for SessionAttributesMaskwhere
TPMA_SESSION: BitRange<T>,
impl<T> BitRange<T> for SessionAttributesMaskwhere
TPMA_SESSION: BitRange<T>,
source§impl<T> BitRangeMut<T> for SessionAttributesMaskwhere
TPMA_SESSION: BitRangeMut<T>,
impl<T> BitRangeMut<T> for SessionAttributesMaskwhere
TPMA_SESSION: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for SessionAttributesMask
impl Clone for SessionAttributesMask
source§fn clone(&self) -> SessionAttributesMask
fn clone(&self) -> SessionAttributesMask
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 moresource§impl Debug for SessionAttributesMask
impl Debug for SessionAttributesMask
source§impl From<SessionAttributesMask> for TPMA_SESSION
impl From<SessionAttributesMask> for TPMA_SESSION
source§fn from(session_attributes_mask: SessionAttributesMask) -> TPMA_SESSION
fn from(session_attributes_mask: SessionAttributesMask) -> TPMA_SESSION
Converts to this type from the input type.
source§impl From<u8> for SessionAttributesMask
impl From<u8> for SessionAttributesMask
source§fn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributesMask
fn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributesMask
Converts to this type from the input type.
source§impl PartialEq for SessionAttributesMask
impl PartialEq for SessionAttributesMask
source§fn 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 ==
.impl Copy for SessionAttributesMask
impl Eq for SessionAttributesMask
impl StructuralPartialEq for SessionAttributesMask
Auto Trait Implementations§
impl Freeze for SessionAttributesMask
impl RefUnwindSafe for SessionAttributesMask
impl Send for SessionAttributesMask
impl Sync for SessionAttributesMask
impl Unpin for SessionAttributesMask
impl UnwindSafe for SessionAttributesMask
Blanket Implementations§
source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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