pub struct TimeoutLayer { /* private fields */ }Expand description
A connector layer which wraps a stream in a TimeoutStream.
Implementations§
Source§impl TimeoutLayer
impl TimeoutLayer
pub fn new<T>(builder: &Builder<Complete<T>>) -> TimeoutLayer
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeoutLayer
impl RefUnwindSafe for TimeoutLayer
impl Send for TimeoutLayer
impl Sync for TimeoutLayer
impl Unpin for TimeoutLayer
impl UnwindSafe for TimeoutLayer
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