Struct sgx_types::types::Ec256SharedKey
source · [−]#[repr(C)]pub struct Ec256SharedKey {
pub s: [u8; 32],
}
Fields
s: [u8; 32]
Trait Implementations
sourcefn clone(&self) -> Ec256SharedKey
fn clone(&self) -> Ec256SharedKey
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourcefn default() -> Ec256SharedKey
fn default() -> Ec256SharedKey
Returns the “default value” for a type. Read more
sourcefn from(array: &[u8; 32]) -> Ec256SharedKey
fn from(array: &[u8; 32]) -> Ec256SharedKey
Converts to this type from the input type.
sourcefn from(key: &Ec256SharedKey) -> AlignEc256SharedKey
fn from(key: &Ec256SharedKey) -> AlignEc256SharedKey
Converts to this type from the input type.
sourcefn from(array: [u8; 32]) -> Ec256SharedKey
fn from(array: [u8; 32]) -> Ec256SharedKey
Converts to this type from the input type.
sourcefn from(key: Ec256SharedKey) -> AlignEc256SharedKey
fn from(key: Ec256SharedKey) -> AlignEc256SharedKey
Converts to this type from the input type.
sourcefn eq(&self, other: &Ec256SharedKey) -> bool
fn eq(&self, other: &Ec256SharedKey) -> bool
type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
sourcefn try_from(slice: &[u8]) -> Result<Ec256SharedKey, Self::Error>
fn try_from(slice: &[u8]) -> Result<Ec256SharedKey, Self::Error>
Performs the conversion.