CSFrameRead

Trait CSFrameRead 

Source
pub trait CSFrameRead {
    // Required method
    fn read_frame<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Reads cobaltstrike frames from an asynchronous source.

Required Methods§

Source

fn read_frame<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Reads a single frame.

Implementors§

Source§

impl<T> CSFrameRead for T
where T: AsyncReadExt + Unpin + Send,