pub struct I2pIdleWatchdog { /* private fields */ }Implementations§
Source§impl I2pIdleWatchdog
impl I2pIdleWatchdog
pub const fn start(now: InstantMillis) -> I2pIdleWatchdog
pub fn observe_read(&mut self, now: InstantMillis) -> I2pReadObservation
pub fn observe_ordinary_write(&mut self, now: InstantMillis)
pub fn tick(&mut self, now: InstantMillis) -> I2pWatchdogVerdict
Trait Implementations§
Source§impl Clone for I2pIdleWatchdog
impl Clone for I2pIdleWatchdog
Source§fn clone(&self) -> I2pIdleWatchdog
fn clone(&self) -> I2pIdleWatchdog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for I2pIdleWatchdog
Source§impl Debug for I2pIdleWatchdog
impl Debug for I2pIdleWatchdog
impl Eq for I2pIdleWatchdog
Source§impl PartialEq for I2pIdleWatchdog
impl PartialEq for I2pIdleWatchdog
impl StructuralPartialEq for I2pIdleWatchdog
Auto Trait Implementations§
impl Freeze for I2pIdleWatchdog
impl RefUnwindSafe for I2pIdleWatchdog
impl Send for I2pIdleWatchdog
impl Sync for I2pIdleWatchdog
impl Unpin for I2pIdleWatchdog
impl UnsafeUnpin for I2pIdleWatchdog
impl UnwindSafe for I2pIdleWatchdog
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