pub struct WithTimeout { /* private fields */ }Implementations§
Source§impl WithTimeout
impl WithTimeout
pub fn new(inner: CallableHandle, duration: Duration) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WithTimeout
impl !RefUnwindSafe for WithTimeout
impl Send for WithTimeout
impl Sync for WithTimeout
impl Unpin for WithTimeout
impl UnsafeUnpin for WithTimeout
impl !UnwindSafe for WithTimeout
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