[−][src]Struct sgx_tseal::SgxUnsealedData
The structure about the unsealed data.
Fields
payload_size: u32
decrypt: Box<T>
additional: Box<[u8]>
Methods
impl<'a, T: 'a + ?Sized> SgxUnsealedData<'a, T>
[src]
pub fn get_payload_size(&self) -> u32
[src]
Get the payload size of the SgxUnsealedData.
pub fn get_decrypt_txt(&self) -> &T
[src]
Get the pointer of decrypt buffer in SgxUnsealedData.
pub fn get_additional_txt(&self) -> &[u8]
[src]
Get the pointer of additional buffer in SgxUnsealedData.
Trait Implementations
impl<'a, T: 'a + Clone + ?Sized> Clone for SgxUnsealedData<'a, T>
[src]
fn clone(&self) -> SgxUnsealedData<'a, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T: 'a + Default> Default for SgxUnsealedData<'a, T>
[src]
fn default() -> SgxUnsealedData<'a, T>
[src]
impl<'a, T: 'a + Default> Default for SgxUnsealedData<'a, [T]>
[src]
fn default() -> SgxUnsealedData<'a, [T]>
[src]
Auto Trait Implementations
impl<'a, T: ?Sized> Unpin for SgxUnsealedData<'a, T>
impl<'a, T: ?Sized> Send for SgxUnsealedData<'a, T> where
T: Send + Sync,
T: Send + Sync,
impl<'a, T: ?Sized> Sync for SgxUnsealedData<'a, T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.