Struct nucypher_core::FleetStateChecksum
source · [−]pub struct FleetStateChecksum(_);Expand description
An identifier of the fleet state.
Implementations
sourceimpl FleetStateChecksum
impl FleetStateChecksum
sourcepub fn from_nodes(
this_node: Option<&NodeMetadata>,
other_nodes: &[NodeMetadata]
) -> Self
pub fn from_nodes(
this_node: Option<&NodeMetadata>,
other_nodes: &[NodeMetadata]
) -> Self
Creates a checksum from the given list of node metadata, and, possibly, also the metadata of the requesting node.
Trait Implementations
sourceimpl AsRef<[u8]> for FleetStateChecksum
impl AsRef<[u8]> for FleetStateChecksum
sourceimpl Clone for FleetStateChecksum
impl Clone for FleetStateChecksum
sourcefn clone(&self) -> FleetStateChecksum
fn clone(&self) -> FleetStateChecksum
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FleetStateChecksum
impl Debug for FleetStateChecksum
sourceimpl<'de> Deserialize<'de> for FleetStateChecksum
impl<'de> Deserialize<'de> for FleetStateChecksum
sourcefn 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
sourceimpl Display for FleetStateChecksum
impl Display for FleetStateChecksum
sourceimpl PartialEq<FleetStateChecksum> for FleetStateChecksum
impl PartialEq<FleetStateChecksum> for FleetStateChecksum
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &FleetStateChecksum) -> bool
fn ne(&self, other: &FleetStateChecksum) -> bool
This method tests for !=.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToHex for T where
T: AsRef<[u8]>,
impl<T> ToHex for T where
T: AsRef<[u8]>,
sourcefn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
Encode the hex strict representing self into the result. Lower case
letters are used (e.g. f9b4ca) Read more
sourcefn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
Encode the hex strict representing self into the result. Upper case
letters are used (e.g. F9B4CA) Read more