block_client

Trait AsBlockProxy

Source
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§

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.

Implementations on Foreign Types§

Source§

impl AsBlockProxy for BlockProxy

Source§

impl AsBlockProxy for PartitionProxy

Source§

impl AsBlockProxy for VolumeProxy

Source§

impl<T: AsBlockProxy> AsBlockProxy for &T

Implementors§