Skip to main content

RollingPacketCaptureProxyInterface

Trait RollingPacketCaptureProxyInterface 

Source
pub trait RollingPacketCaptureProxyInterface: Send + Sync {
    type DetachResponseFut: Future<Output = Result<RollingPacketCaptureDetachResult, Error>> + Send;
    type DiscardResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn detach(&self, name: &str) -> Self::DetachResponseFut;
    fn stop_and_download(
        &self,
        channel: ServerEnd<FileMarker>,
    ) -> Result<(), Error>;
    fn discard(&self) -> Self::DiscardResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn detach(&self, name: &str) -> Self::DetachResponseFut

Source

fn stop_and_download(&self, channel: ServerEnd<FileMarker>) -> Result<(), Error>

Source

fn discard(&self) -> Self::DiscardResponseFut

Implementors§