Struct tss_esapi::attributes::session::SessionAttributes
source · pub struct SessionAttributes(pub TPMA_SESSION);
Expand description
Bitfield representing the session attributes.
Tuple Fields§
§0: TPMA_SESSION
Implementations§
source§impl SessionAttributes
impl SessionAttributes
sourcepub const fn builder() -> SessionAttributesBuilder
pub const fn builder() -> SessionAttributesBuilder
Get a builder for the structure
Trait Implementations§
source§impl<T> BitRange<T> for SessionAttributeswhere
TPMA_SESSION: BitRange<T>,
impl<T> BitRange<T> for SessionAttributeswhere
TPMA_SESSION: BitRange<T>,
source§impl<T> BitRangeMut<T> for SessionAttributeswhere
TPMA_SESSION: BitRangeMut<T>,
impl<T> BitRangeMut<T> for SessionAttributeswhere
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 SessionAttributes
impl Clone for SessionAttributes
source§fn clone(&self) -> SessionAttributes
fn clone(&self) -> SessionAttributes
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 SessionAttributes
impl Debug for SessionAttributes
source§impl From<SessionAttributes> for TPMA_SESSION
impl From<SessionAttributes> for TPMA_SESSION
source§fn from(session_attributes: SessionAttributes) -> TPMA_SESSION
fn from(session_attributes: SessionAttributes) -> TPMA_SESSION
Converts to this type from the input type.
source§impl From<u8> for SessionAttributes
impl From<u8> for SessionAttributes
source§fn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributes
fn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributes
Converts to this type from the input type.
source§impl PartialEq for SessionAttributes
impl PartialEq for SessionAttributes
source§fn eq(&self, other: &SessionAttributes) -> bool
fn eq(&self, other: &SessionAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SessionAttributes
impl Eq for SessionAttributes
impl StructuralPartialEq for SessionAttributes
Auto Trait Implementations§
impl Freeze for SessionAttributes
impl RefUnwindSafe for SessionAttributes
impl Send for SessionAttributes
impl Sync for SessionAttributes
impl Unpin for SessionAttributes
impl UnwindSafe for SessionAttributes
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