pub struct SessionAttributes(pub TPMA_SESSION);Expand description
Struct representing the session attributes.
Tuple Fields§
§0: TPMA_SESSIONImplementations§
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 duplicate 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 PartialEq for SessionAttributes
impl PartialEq for SessionAttributes
Source§impl TryFrom<SessionAttributes> for TPMA_SESSION
impl TryFrom<SessionAttributes> for TPMA_SESSION
Source§fn try_from(session_attributes: SessionAttributes) -> Result<TPMA_SESSION>
fn try_from(session_attributes: SessionAttributes) -> Result<TPMA_SESSION>
Performs the conversion.
Source§impl TryFrom<u8> for SessionAttributes
impl TryFrom<u8> for SessionAttributes
Source§fn try_from(tss_session_attributes: TPMA_SESSION) -> Result<SessionAttributes>
fn try_from(tss_session_attributes: TPMA_SESSION) -> Result<SessionAttributes>
Performs the conversion.
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 UnsafeUnpin 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