Type Alias holochain::prelude::dependencies::kitsune_p2p_types::dependencies::rustls::internal::msgs::persist::ServerSessionKey
pub type ServerSessionKey = SessionID;
Aliased Type§
struct ServerSessionKey { /* private fields */ }
Implementations§
Trait Implementations§
§impl Codec for SessionID
impl Codec for SessionID
§fn encode(&self, bytes: &mut Vec<u8, Global>)
fn encode(&self, bytes: &mut Vec<u8, Global>)
Function for encoding itself by appending itself to
the provided vec of bytes.
§fn read(r: &mut Reader<'_>) -> Option<SessionID>
fn read(r: &mut Reader<'_>) -> Option<SessionID>
Function for decoding itself from the provided reader
will return Some if the decoding was successful or
None if it was not.
§fn get_encoding(&self) -> Vec<u8, Global> ⓘ
fn get_encoding(&self) -> Vec<u8, Global> ⓘ
Convenience function for encoding the implementation
into a vec and returning it
§fn read_bytes(bytes: &[u8]) -> Option<Self>
fn read_bytes(bytes: &[u8]) -> Option<Self>
Function for wrapping a call to the read function in
a Reader for the slice of bytes provided