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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".