Struct tss_esapi::attributes::session::SessionAttributes
source · pub struct SessionAttributes(pub TPMA_SESSION);Expand description
Bitfield representing the session attributes.
Tuple Fields§
§0: TPMA_SESSIONImplementations§
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 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<SessionAttributes> for SessionAttributes
impl PartialEq<SessionAttributes> 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 ==.