pub struct Ed25519PublicKey { /* private fields */ }
Expand description
Ed25519 Public Key
Trait Implementations§
Source§impl AsDer<PublicKeyX509Der<'static>> for PublicKey
impl AsDer<PublicKeyX509Der<'static>> for PublicKey
Source§fn as_der(&self) -> Result<PublicKeyX509Der<'static>, Unspecified>
fn as_der(&self) -> Result<PublicKeyX509Der<'static>, Unspecified>
Provides the public key as a DER-encoded (X.509) SubjectPublicKeyInfo
structure.
§Errors
Returns an error if the public key fails to marshal to X.509.
impl Send for PublicKey
impl Sync for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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