pub struct OneRequest;
Expand description
OneRequest - service factory for service that can limit number of in-flight async requests to 1.
Trait Implementations§
source§impl Clone for OneRequest
impl Clone for OneRequest
source§fn clone(&self) -> OneRequest
fn clone(&self) -> OneRequest
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OneRequest
impl Debug for OneRequest
source§impl Default for OneRequest
impl Default for OneRequest
source§fn default() -> OneRequest
fn default() -> OneRequest
Returns the “default value” for a type. Read more
source§impl<S> Middleware<S> for OneRequest
impl<S> Middleware<S> for OneRequest
impl Copy for OneRequest
Auto Trait Implementations§
impl Freeze for OneRequest
impl RefUnwindSafe for OneRequest
impl Send for OneRequest
impl Sync for OneRequest
impl Unpin for OneRequest
impl UnwindSafe for OneRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)