pub struct RouteArg(pub Vec<RouterHint>);Expand description
A comma-separated source route, first hop first.
Each hop is either the four hex digits of a router hint, as a capture or
a trace route renders it, or a full public key to derive the hint from.
An empty route is not a way to say “flood”—--flood is—so it is
rejected rather than quietly meaning something else.
Tuple Fields§
§0: Vec<RouterHint>Trait Implementations§
impl Eq for RouteArg
impl StructuralPartialEq for RouteArg
Auto Trait Implementations§
impl Freeze for RouteArg
impl RefUnwindSafe for RouteArg
impl Send for RouteArg
impl Sync for RouteArg
impl Unpin for RouteArg
impl UnwindSafe for RouteArg
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)