Struct openpgp_card::algorithm::EccAttrs
source · [−]pub struct EccAttrs { /* private fields */ }
Expand description
ECC specific attributes of Algo
(“Algorithm Attributes”)
Implementations
sourceimpl EccAttrs
impl EccAttrs
pub fn new(ecc_type: EccType, curve: Curve, import_format: Option<u8>) -> Self
pub fn ecc_type(&self) -> EccType
pub fn curve(&self) -> Curve
pub fn oid(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
pub fn import_format(&self) -> Option<u8>
Trait Implementations
impl Eq for EccAttrs
impl StructuralEq for EccAttrs
impl StructuralPartialEq for EccAttrs
Auto Trait Implementations
impl RefUnwindSafe for EccAttrs
impl Send for EccAttrs
impl Sync for EccAttrs
impl Unpin for EccAttrs
impl UnwindSafe for EccAttrs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more