pub struct AddressRank { /* private fields */ }Expand description
What the history says of one address, for the order of the attempts
(AddressHistory::rank): lower first. The default (nothing known) sorts after an
address that answered and before one whose last attempt failed.
Trait Implementations§
Source§impl Clone for AddressRank
impl Clone for AddressRank
impl Copy for AddressRank
Source§impl Debug for AddressRank
impl Debug for AddressRank
Source§impl Default for AddressRank
impl Default for AddressRank
impl Eq for AddressRank
Source§impl Ord for AddressRank
impl Ord for AddressRank
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AddressRank
impl PartialEq for AddressRank
Source§impl PartialOrd for AddressRank
impl PartialOrd for AddressRank
impl StructuralPartialEq for AddressRank
Auto Trait Implementations§
impl Forget for AddressRank
impl Freeze for AddressRank
impl Move for AddressRank
impl RefUnwindSafe for AddressRank
impl Send for AddressRank
impl Sync for AddressRank
impl Unpin for AddressRank
impl UnsafeUnpin for AddressRank
impl UnwindSafe for AddressRank
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