Struct sgx_types::types::Ec256PrivateKey
source · [−]#[repr(C)]pub struct Ec256PrivateKey {
pub r: [u8; 32],
}
Fields
r: [u8; 32]
Trait Implementations
sourceimpl AsMut<[u8; 32]> for Ec256PrivateKey
impl AsMut<[u8; 32]> for Ec256PrivateKey
sourceimpl AsRef<[u8; 32]> for Ec256PrivateKey
impl AsRef<[u8; 32]> for Ec256PrivateKey
sourceimpl Clone for Ec256PrivateKey
impl Clone for Ec256PrivateKey
sourcefn clone(&self) -> Ec256PrivateKey
fn clone(&self) -> Ec256PrivateKey
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 moresourceimpl Debug for Ec256PrivateKey
impl Debug for Ec256PrivateKey
sourceimpl Default for Ec256PrivateKey
impl Default for Ec256PrivateKey
sourcefn default() -> Ec256PrivateKey
fn default() -> Ec256PrivateKey
Returns the “default value” for a type. Read more
sourceimpl From<&[u8; 32]> for Ec256PrivateKey
impl From<&[u8; 32]> for Ec256PrivateKey
sourcefn from(array: &[u8; 32]) -> Ec256PrivateKey
fn from(array: &[u8; 32]) -> Ec256PrivateKey
Converts to this type from the input type.
sourceimpl From<&Ec256PrivateKey> for AlignEc256PrivateKey
impl From<&Ec256PrivateKey> for AlignEc256PrivateKey
sourcefn from(key: &Ec256PrivateKey) -> AlignEc256PrivateKey
fn from(key: &Ec256PrivateKey) -> AlignEc256PrivateKey
Converts to this type from the input type.
sourceimpl From<[u8; 32]> for Ec256PrivateKey
impl From<[u8; 32]> for Ec256PrivateKey
sourcefn from(array: [u8; 32]) -> Ec256PrivateKey
fn from(array: [u8; 32]) -> Ec256PrivateKey
Converts to this type from the input type.
sourceimpl From<Ec256PrivateKey> for AlignEc256PrivateKey
impl From<Ec256PrivateKey> for AlignEc256PrivateKey
sourcefn from(key: Ec256PrivateKey) -> AlignEc256PrivateKey
fn from(key: Ec256PrivateKey) -> AlignEc256PrivateKey
Converts to this type from the input type.
sourceimpl PartialEq<Ec256PrivateKey> for Ec256PrivateKey
impl PartialEq<Ec256PrivateKey> for Ec256PrivateKey
sourcefn eq(&self, other: &Ec256PrivateKey) -> bool
fn eq(&self, other: &Ec256PrivateKey) -> bool
sourceimpl TryFrom<&[u8]> for Ec256PrivateKey
impl TryFrom<&[u8]> for Ec256PrivateKey
type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
sourcefn try_from(slice: &[u8]) -> Result<Ec256PrivateKey, Self::Error>
fn try_from(slice: &[u8]) -> Result<Ec256PrivateKey, Self::Error>
Performs the conversion.
impl BytewiseEquality for Ec256PrivateKey
impl ContiguousMemory for Ec256PrivateKey
impl Copy for Ec256PrivateKey
impl Eq for Ec256PrivateKey
impl StructuralEq for Ec256PrivateKey
impl StructuralPartialEq for Ec256PrivateKey
Auto Trait Implementations
impl RefUnwindSafe for Ec256PrivateKey
impl Send for Ec256PrivateKey
impl Sync for Ec256PrivateKey
impl Unpin for Ec256PrivateKey
impl UnwindSafe for Ec256PrivateKey
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more