pub struct MaxTtl(pub u8);Expand description
Max number of hops message can make to reach peer
Usually defaults to 8
Tuple Fields§
§0: u8Trait Implementations§
impl Copy for MaxTtl
Auto Trait Implementations§
impl Freeze for MaxTtl
impl RefUnwindSafe for MaxTtl
impl Send for MaxTtl
impl Sync for MaxTtl
impl Unpin for MaxTtl
impl UnwindSafe for MaxTtl
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