pub struct ArcIdleConfig(/* private fields */);Implementations§
Source§impl ArcIdleConfig
impl ArcIdleConfig
pub fn new(max_idle_timeout: Duration, defer_idle_timeout: Duration) -> Self
pub fn negotiate_max_idle_timeout(&self, max_idle_timeout: Duration)
pub fn set_heartbeat_interval(&self, interval: Duration)
pub fn timer(&self) -> ArcIdleTimer
Trait Implementations§
Source§impl Clone for ArcIdleConfig
impl Clone for ArcIdleConfig
Source§fn clone(&self) -> ArcIdleConfig
fn clone(&self) -> ArcIdleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArcIdleConfig
impl RefUnwindSafe for ArcIdleConfig
impl Send for ArcIdleConfig
impl Sync for ArcIdleConfig
impl Unpin for ArcIdleConfig
impl UnsafeUnpin for ArcIdleConfig
impl UnwindSafe for ArcIdleConfig
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