Struct sbd_server::PubKey
source · pub struct PubKey(pub Arc<[u8; 32]>);Expand description
Public key.
Tuple Fields§
§0: Arc<[u8; 32]>Implementations§
Trait Implementations§
source§impl Ord for PubKey
impl Ord for PubKey
source§impl PartialEq for PubKey
impl PartialEq for PubKey
source§impl PartialOrd for PubKey
impl PartialOrd for PubKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for PubKey
impl StructuralPartialEq for PubKey
Auto Trait Implementations§
impl Freeze for PubKey
impl RefUnwindSafe for PubKey
impl Send for PubKey
impl Sync for PubKey
impl Unpin for PubKey
impl UnwindSafe for PubKey
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