pub struct Timeout { /* private fields */ }Expand description
Per-request timeout middleware configuration.
All three fields stay populated even on the compio build so the struct
remains constructible — there is just no IntoMiddleware
adapter for it. The expect_used allow keeps the compio compile clean
while the fields wait for a compio-runtime adapter.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Timeout
impl !RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnsafeUnpin for Timeout
impl !UnwindSafe for Timeout
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