Struct actix_net::timer::LowResTimer [−][src]
pub struct LowResTimer(_);
Methods
impl LowResTimer
[src]
impl LowResTimer
pub fn with(resolution: Duration) -> LowResTimer
[src]
pub fn with(resolution: Duration) -> LowResTimer
pub fn timer(&self) -> LowResTimerService
[src]
pub fn timer(&self) -> LowResTimerService
Trait Implementations
impl Clone for LowResTimer
[src]
impl Clone for LowResTimer
fn clone(&self) -> LowResTimer
[src]
fn clone(&self) -> LowResTimer
Returns 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 LowResTimer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for LowResTimer
[src]
impl Default for LowResTimer
impl NewService for LowResTimer
[src]
impl NewService for LowResTimer
type 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::Future
Create and return a new service value asynchronously.
Auto Trait Implementations
impl !Send for LowResTimer
impl !Send for LowResTimer
impl !Sync for LowResTimer
impl !Sync for LowResTimer