pub struct PingProtocol {
peer: Arc<Peer>,
ping_interval: u64,
ping_timeout: u64,
task_group: TaskGroup,
}
Fields§
§peer: Arc<Peer>
§ping_interval: u64
§ping_timeout: u64
§task_group: TaskGroup
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PingProtocol
impl !RefUnwindSafe for PingProtocol
impl Send for PingProtocol
impl Sync for PingProtocol
impl Unpin for PingProtocol
impl !UnwindSafe for PingProtocol
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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