pub struct HeartbeatDriver<T>where
T: HeartbeatTransport,{ /* private fields */ }Implementations§
Source§impl<T> HeartbeatDriver<T>where
T: HeartbeatTransport,
impl<T> HeartbeatDriver<T>where
T: HeartbeatTransport,
pub fn new(transport: T, args: HeartbeatDriverArgs) -> Self
pub async fn run(self) -> HeartbeatLoopResult
Auto Trait Implementations§
impl<T> Freeze for HeartbeatDriver<T>where
T: Freeze,
impl<T> !RefUnwindSafe for HeartbeatDriver<T>
impl<T> Send for HeartbeatDriver<T>
impl<T> Sync for HeartbeatDriver<T>
impl<T> Unpin for HeartbeatDriver<T>where
T: Unpin,
impl<T> !UnwindSafe for HeartbeatDriver<T>
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