pub struct CSINodeClient { /* private fields */ }Expand description
Client helper to receive CSI packets via a pub/sub channel.
Implementations§
Source§impl CSINodeClient
impl CSINodeClient
Sourcepub async fn get_csi_data(&mut self) -> CSIDataPacket
pub async fn get_csi_data(&mut self) -> CSIDataPacket
Wait for the next CSI packet.
Sourcepub async fn print_csi_w_metadata(&mut self)
pub async fn print_csi_w_metadata(&mut self)
Receive and print CSI data with metadata (uses crate logging).
Auto Trait Implementations§
impl Freeze for CSINodeClient
impl !RefUnwindSafe for CSINodeClient
impl Send for CSINodeClient
impl Sync for CSINodeClient
impl Unpin for CSINodeClient
impl UnsafeUnpin for CSINodeClient
impl !UnwindSafe for CSINodeClient
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