Struct fuel_core_p2p::HeartbeatConfig
source · pub struct HeartbeatConfig { /* private fields */ }
Implementations§
source§impl HeartbeatConfig
impl HeartbeatConfig
pub fn new( send_timeout: Duration, idle_timeout: Duration, max_failures: NonZeroU32 ) -> Self
Trait Implementations§
source§impl Clone for HeartbeatConfig
impl Clone for HeartbeatConfig
source§fn clone(&self) -> HeartbeatConfig
fn clone(&self) -> HeartbeatConfig
Returns a copy 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 HeartbeatConfig
impl Debug for HeartbeatConfig
Auto Trait Implementations§
impl RefUnwindSafe for HeartbeatConfig
impl Send for HeartbeatConfig
impl Sync for HeartbeatConfig
impl Unpin for HeartbeatConfig
impl UnwindSafe for HeartbeatConfig
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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