Struct nucypher_core::SessionStaticKey
source · pub struct SessionStaticKey(_);Expand description
A session public key.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for SessionStaticKey
impl AsRef<[u8]> for SessionStaticKey
source§impl Clone for SessionStaticKey
impl Clone for SessionStaticKey
source§fn clone(&self) -> SessionStaticKey
fn clone(&self) -> SessionStaticKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SessionStaticKey
impl Debug for SessionStaticKey
source§impl<'a> Deserialize<'a> for SessionStaticKey
impl<'a> Deserialize<'a> for SessionStaticKey
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SessionStaticKey
impl Display for SessionStaticKey
source§impl Hash for SessionStaticKey
impl Hash for SessionStaticKey
source§impl PartialEq<SessionStaticKey> for SessionStaticKey
impl PartialEq<SessionStaticKey> for SessionStaticKey
source§fn eq(&self, other: &SessionStaticKey) -> bool
fn eq(&self, other: &SessionStaticKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> ProtocolObject<'a> for SessionStaticKey
impl<'a> ProtocolObject<'a> for SessionStaticKey
source§impl Serialize for SessionStaticKey
impl Serialize for SessionStaticKey
source§impl TryFromBytes for SessionStaticKey
impl TryFromBytes for SessionStaticKey
§type Error = TryFromSliceError
type Error = TryFromSliceError
The error returned on construction failure.
impl Copy for SessionStaticKey
impl Eq for SessionStaticKey
impl StructuralEq for SessionStaticKey
impl StructuralPartialEq for SessionStaticKey
Auto Trait Implementations§
impl RefUnwindSafe for SessionStaticKey
impl Send for SessionStaticKey
impl Sync for SessionStaticKey
impl Unpin for SessionStaticKey
impl UnwindSafe for SessionStaticKey
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FromBytes for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBytes for Twhere T: for<'de> Deserialize<'de>,
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)