pub struct HashDiscovered {
pub info_hash: String,
pub peer_addr: SocketAddr,
pub discovered_at: Instant,
}Fields§
§info_hash: String§peer_addr: SocketAddr§discovered_at: InstantTrait Implementations§
Source§impl Clone for HashDiscovered
impl Clone for HashDiscovered
Source§fn clone(&self) -> HashDiscovered
fn clone(&self) -> HashDiscovered
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HashDiscovered
impl RefUnwindSafe for HashDiscovered
impl Send for HashDiscovered
impl Sync for HashDiscovered
impl Unpin for HashDiscovered
impl UnwindSafe for HashDiscovered
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