CSFrameWrite

Trait CSFrameWrite 

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

Writes cobaltstrike frames from an asynchronous source.

Required Methods§

Source

fn write_frame<'life0, 'life1, 'async_trait>( &'life0 mut self, data: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Write a single frame.

Implementors§

Source§

impl<T> CSFrameWrite for T
where T: AsyncWriteExt + Unpin + Send,