pub struct SessionStaticKey(/* private fields */);
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 for SessionStaticKey
impl PartialEq for SessionStaticKey
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
Source§type Error = TryFromSliceError
type Error = TryFromSliceError
The error returned on construction failure.
impl Copy for SessionStaticKey
impl Eq for SessionStaticKey
impl StructuralPartialEq for SessionStaticKey
Auto Trait Implementations§
impl Freeze for SessionStaticKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FromBytes for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBytes for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ToHex for T
impl<T> ToHex for T
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
)