Struct actix_net::timer::LowResTimer [−][src]
pub struct LowResTimer(_);
Methods
impl LowResTimer[src]
impl LowResTimerpub fn with(resolution: Duration) -> LowResTimer[src]
pub fn with(resolution: Duration) -> LowResTimerpub fn timer(&self) -> LowResTimerService[src]
pub fn timer(&self) -> LowResTimerServiceTrait Implementations
impl Clone for LowResTimer[src]
impl Clone for LowResTimerfn clone(&self) -> LowResTimer[src]
fn clone(&self) -> LowResTimerReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for LowResTimer[src]
impl Debug for LowResTimerfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for LowResTimer[src]
impl Default for LowResTimerimpl NewService for LowResTimer[src]
impl NewService for LowResTimertype Request = ()
Requests handled by the service
type Response = Instant
Responses given by the service
type Error = Never
Errors produced by the service
type InitError = Never
Errors produced while building a service.
type Service = LowResTimerService
The Service value created by this factory
type Future = FutureResult<Self::Service, Self::InitError>
The future of the Service instance.
fn new_service(&self) -> Self::Future[src]
fn new_service(&self) -> Self::FutureCreate and return a new service value asynchronously.
Auto Trait Implementations
impl !Send for LowResTimer
impl !Send for LowResTimerimpl !Sync for LowResTimer
impl !Sync for LowResTimer