pub trait ArchiveAccessorProxyInterface: Send + Sync {
type StreamDiagnosticsToSocketResponseFut: Future<Output = Result<(), Error>> + Send;
type WaitForReadyResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn stream_diagnostics(
&self,
stream_parameters: &StreamParameters,
result_stream: ServerEnd<BatchIteratorMarker>,
) -> Result<(), Error>;
fn stream_diagnostics_to_socket(
&self,
stream_parameters: &StreamParameters,
stream: Socket,
) -> Self::StreamDiagnosticsToSocketResponseFut;
fn wait_for_ready(&self) -> Self::WaitForReadyResponseFut;
}Required Associated Types§
type StreamDiagnosticsToSocketResponseFut: Future<Output = Result<(), Error>> + Send
type WaitForReadyResponseFut: Future<Output = Result<(), Error>> + Send
Required Methods§
fn stream_diagnostics( &self, stream_parameters: &StreamParameters, result_stream: ServerEnd<BatchIteratorMarker>, ) -> Result<(), Error>
fn stream_diagnostics_to_socket( &self, stream_parameters: &StreamParameters, stream: Socket, ) -> Self::StreamDiagnosticsToSocketResponseFut
fn wait_for_ready(&self) -> Self::WaitForReadyResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".