pub struct HintPrefixArg(pub Vec<u8>);Expand description
The leading bytes of a node hint, as one to three hex octets.
A whole hint is three bytes; a prefix of one or two narrows a discovery to a part of the address space without naming one node.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl Clone for HintPrefixArg
impl Clone for HintPrefixArg
Source§fn clone(&self) -> HintPrefixArg
fn clone(&self) -> HintPrefixArg
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HintPrefixArg
impl Debug for HintPrefixArg
Source§impl FromStr for HintPrefixArg
impl FromStr for HintPrefixArg
Source§impl PartialEq for HintPrefixArg
impl PartialEq for HintPrefixArg
impl Eq for HintPrefixArg
impl StructuralPartialEq for HintPrefixArg
Auto Trait Implementations§
impl Freeze for HintPrefixArg
impl RefUnwindSafe for HintPrefixArg
impl Send for HintPrefixArg
impl Sync for HintPrefixArg
impl Unpin for HintPrefixArg
impl UnwindSafe for HintPrefixArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)