pub struct Ed25519PubKey { /* private fields */ }
Expand description
An Ed25519 public key.
Implementations§
Source§impl Ed25519PubKey
impl Ed25519PubKey
Sourcepub fn from_bytes(bytes: [u8; 32]) -> Ed25519PubKey
pub fn from_bytes(bytes: [u8; 32]) -> Ed25519PubKey
Constructs a new public key from bytes.
Trait Implementations§
Source§impl Debug for Ed25519PubKey
impl Debug for Ed25519PubKey
Auto Trait Implementations§
impl Freeze for Ed25519PubKey
impl RefUnwindSafe for Ed25519PubKey
impl Send for Ed25519PubKey
impl Sync for Ed25519PubKey
impl Unpin for Ed25519PubKey
impl UnwindSafe for Ed25519PubKey
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