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
sourceimpl SessionAttributes
impl SessionAttributes
sourcepub const fn builder() -> SessionAttributesBuilder
pub const fn builder() -> SessionAttributesBuilder
Get a builder for the structure
Trait Implementations
sourceimpl<T> BitRange<T> for SessionAttributes where
TPMA_SESSION: BitRange<T>,
impl<T> BitRange<T> for SessionAttributes where
TPMA_SESSION: BitRange<T>,
sourceimpl Clone for SessionAttributes
impl Clone for SessionAttributes
sourcefn clone(&self) -> SessionAttributes
fn clone(&self) -> SessionAttributes
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 SessionAttributes
impl Debug for SessionAttributes
sourceimpl From<SessionAttributes> for TPMA_SESSION
impl From<SessionAttributes> for TPMA_SESSION
sourcefn from(session_attributes: SessionAttributes) -> TPMA_SESSION
fn from(session_attributes: SessionAttributes) -> TPMA_SESSION
Performs the conversion.
sourceimpl From<u8> for SessionAttributes
impl From<u8> for SessionAttributes
sourcefn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributes
fn from(tss_session_attributes: TPMA_SESSION) -> SessionAttributes
Performs the conversion.
sourceimpl PartialEq<SessionAttributes> for SessionAttributes
impl PartialEq<SessionAttributes> for SessionAttributes
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SessionAttributes) -> bool
fn ne(&self, other: &SessionAttributes) -> bool
This method tests for !=
.
impl Copy for SessionAttributes
impl Eq for SessionAttributes
impl StructuralEq for SessionAttributes
impl StructuralPartialEq for SessionAttributes
Auto Trait Implementations
impl RefUnwindSafe for SessionAttributes
impl Send for SessionAttributes
impl Sync for SessionAttributes
impl Unpin for SessionAttributes
impl UnwindSafe for SessionAttributes
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