pub struct IdleTimeout(pub Duration);Expand description
Idle timeout of WebSocketRpcClient.
Tuple Fields§
§0: DurationTrait Implementations§
Source§impl Clone for IdleTimeout
impl Clone for IdleTimeout
Source§fn clone(&self) -> IdleTimeout
fn clone(&self) -> IdleTimeout
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 IdleTimeout
impl Debug for IdleTimeout
impl Copy for IdleTimeout
Auto Trait Implementations§
impl Freeze for IdleTimeout
impl RefUnwindSafe for IdleTimeout
impl Send for IdleTimeout
impl Sync for IdleTimeout
impl Unpin for IdleTimeout
impl UnwindSafe for IdleTimeout
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