Struct aleph_bft::NodeSubset
[−]pub struct NodeSubset(_);
Implementations
Trait Implementations
impl Clone for NodeSubset
impl Clone for NodeSubset
fn clone(&self) -> NodeSubset
fn clone(&self) -> NodeSubset
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
impl Debug for NodeSubset
impl Debug for NodeSubset
impl Decode for NodeSubset
impl Decode for NodeSubset
fn decode<I>(input: &mut I) -> Result<NodeSubset, Error> where
I: Input,
fn decode<I>(input: &mut I) -> Result<NodeSubset, Error> where
I: Input,
Attempt to deserialise the value from input.
sourcefn skip<I>(input: &mut I) -> Result<(), Error> where
I: Input,
fn skip<I>(input: &mut I) -> Result<(), Error> where
I: Input,
Attempt to skip the encoded value from input. Read more
sourcefn encoded_fixed_size() -> Option<usize>
fn encoded_fixed_size() -> Option<usize>
Returns the fixed encoded size of the type. Read more
impl Default for NodeSubset
impl Default for NodeSubset
fn default() -> NodeSubset
fn default() -> NodeSubset
Returns the “default value” for a type. Read more
impl Encode for NodeSubset
impl Encode for NodeSubset
fn encode_to<T>(&self, dest: &mut T) where
T: Output + ?Sized,
fn encode_to<T>(&self, dest: &mut T) where
T: Output + ?Sized,
Convert self to a slice and append it to the destination.
sourcefn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
sourcefn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
sourcefn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
impl Hash for NodeSubset
impl Hash for NodeSubset
impl Index<NodeIndex> for NodeSubset
impl Index<NodeIndex> for NodeSubset
impl PartialEq<NodeSubset> for NodeSubset
impl PartialEq<NodeSubset> for NodeSubset
fn eq(&self, other: &NodeSubset) -> bool
fn eq(&self, other: &NodeSubset) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &NodeSubset) -> bool
fn ne(&self, other: &NodeSubset) -> bool
This method tests for !=
.
impl Eq for NodeSubset
impl StructuralEq for NodeSubset
impl StructuralPartialEq for NodeSubset
Auto Trait Implementations
impl RefUnwindSafe for NodeSubset
impl Send for NodeSubset
impl Sync for NodeSubset
impl Unpin for NodeSubset
impl UnwindSafe for NodeSubset
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> DecodeLimit for T where
T: Decode,
impl<T> DecodeLimit for T where
T: Decode,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more