pub struct LongPollTimeout(pub Duration);Expand description
Typed wrapper for long-poll timeout, injected via axum Extension.
Tuple Fields§
§0: DurationTrait Implementations§
Source§impl Clone for LongPollTimeout
impl Clone for LongPollTimeout
Source§fn clone(&self) -> LongPollTimeout
fn clone(&self) -> LongPollTimeout
Returns a duplicate of the value. Read more
1.0.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 LongPollTimeout
impl Debug for LongPollTimeout
impl Copy for LongPollTimeout
Auto Trait Implementations§
impl Freeze for LongPollTimeout
impl RefUnwindSafe for LongPollTimeout
impl Send for LongPollTimeout
impl Sync for LongPollTimeout
impl Unpin for LongPollTimeout
impl UnsafeUnpin for LongPollTimeout
impl UnwindSafe for LongPollTimeout
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