pub trait LogSinkProxyInterface: Send + Sync {
type WaitForInterestChangeResponseFut: Future<Output = Result<LogSinkWaitForInterestChangeResult, Error>> + Send;
// Required methods
fn wait_for_interest_change(&self) -> Self::WaitForInterestChangeResponseFut;
fn connect_structured(&self, socket: Socket) -> Result<(), Error>;
}Required Associated Types§
type WaitForInterestChangeResponseFut: Future<Output = Result<LogSinkWaitForInterestChangeResult, Error>> + Send
Required Methods§
fn wait_for_interest_change(&self) -> Self::WaitForInterestChangeResponseFut
fn connect_structured(&self, socket: Socket) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".