Struct nucypher_core::FleetStateChecksum
source · pub struct FleetStateChecksum(_);Expand description
An identifier of the fleet state.
Implementations§
source§impl FleetStateChecksum
impl FleetStateChecksum
sourcepub fn from_nodes(
other_nodes: &[NodeMetadata],
this_node: Option<&NodeMetadata>
) -> Self
pub fn from_nodes( other_nodes: &[NodeMetadata], this_node: Option<&NodeMetadata> ) -> Self
Creates a checksum from the given list of node metadata, and, possibly, also the metadata of the requesting node.
Trait Implementations§
source§impl AsRef<[u8]> for FleetStateChecksum
impl AsRef<[u8]> for FleetStateChecksum
source§impl Clone for FleetStateChecksum
impl Clone for FleetStateChecksum
source§fn clone(&self) -> FleetStateChecksum
fn clone(&self) -> FleetStateChecksum
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 FleetStateChecksum
impl Debug for FleetStateChecksum
source§impl<'de> Deserialize<'de> for FleetStateChecksum
impl<'de> Deserialize<'de> for FleetStateChecksum
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for FleetStateChecksum
impl Display for FleetStateChecksum
source§impl PartialEq<FleetStateChecksum> for FleetStateChecksum
impl PartialEq<FleetStateChecksum> for FleetStateChecksum
source§fn eq(&self, other: &FleetStateChecksum) -> bool
fn eq(&self, other: &FleetStateChecksum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FleetStateChecksum
impl Serialize for FleetStateChecksum
impl Copy for FleetStateChecksum
impl Eq for FleetStateChecksum
impl StructuralEq for FleetStateChecksum
impl StructuralPartialEq for FleetStateChecksum
Auto Trait Implementations§
impl RefUnwindSafe for FleetStateChecksum
impl Send for FleetStateChecksum
impl Sync for FleetStateChecksum
impl Unpin for FleetStateChecksum
impl UnwindSafe for FleetStateChecksum
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> 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)