pub struct NtpSource;Trait Implementations§
Source§impl TimeSource for NtpSource
impl TimeSource for NtpSource
fn name(&self) -> &'static str
fn fetch( &self, target: SocketAddr, timeout: Duration, ) -> Result<OffsetMicros, TimeSourceError>
Auto Trait Implementations§
impl Freeze for NtpSource
impl RefUnwindSafe for NtpSource
impl Send for NtpSource
impl Sync for NtpSource
impl Unpin for NtpSource
impl UnsafeUnpin for NtpSource
impl UnwindSafe for NtpSource
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