Struct tee_internal::SessionContext
source · #[repr(C)]pub struct SessionContext(/* private fields */);
Implementations§
source§impl SessionContext
impl SessionContext
pub fn from_value(value: u64) -> Self
source§impl SessionContext
impl SessionContext
pub fn from_binding<'a>(input: &'a usize) -> &'a Self
source§impl SessionContext
impl SessionContext
pub fn to_binding<'a>(&'a self) -> &'a usize
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Clone for SessionContext
impl Clone for SessionContext
source§fn clone(&self) -> SessionContext
fn clone(&self) -> SessionContext
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 SessionContext
impl Debug for SessionContext
source§impl Deref for SessionContext
impl Deref for SessionContext
source§impl DerefMut for SessionContext
impl DerefMut for SessionContext
source§impl PartialEq for SessionContext
impl PartialEq for SessionContext
source§fn eq(&self, other: &SessionContext) -> bool
fn eq(&self, other: &SessionContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SessionContext
impl Eq for SessionContext
impl StructuralPartialEq for SessionContext
Auto Trait Implementations§
impl Freeze for SessionContext
impl RefUnwindSafe for SessionContext
impl Send for SessionContext
impl Sync for SessionContext
impl Unpin for SessionContext
impl UnwindSafe for SessionContext
Blanket Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)