pub trait AsBlockProxy {
// Required methods
fn get_info(
&self,
) -> impl Future<Output = Result<BlockGetInfoResult, Error>>;
fn open_session(
&self,
session: ServerEnd<SessionMarker>,
) -> Result<(), Error>;
}
Required Methods§
fn get_info(&self) -> impl Future<Output = Result<BlockGetInfoResult, Error>>
fn open_session(&self, session: ServerEnd<SessionMarker>) -> Result<(), Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.