pub trait Stream_ProxyInterface: Send + Sync {
    type GetPropertiesResponseFut: Future<Output = Result<StreamProperties, Error>> + Send;
    type GetProperties2ResponseFut: Future<Output = Result<StreamProperties2, Error>> + Send;
    type WatchCropRegionResponseFut: Future<Output = Result<Option<Box<RectF>>, Error>> + Send;
    type WatchResolutionResponseFut: Future<Output = Result<Size, Error>> + Send;
    type WatchBufferCollectionResponseFut: Future<Output = Result<ClientEnd<BufferCollectionTokenMarker>, Error>> + Send;
    type WatchOrientationResponseFut: Future<Output = Result<Orientation, Error>> + Send;
    type GetNextFrameResponseFut: Future<Output = Result<FrameInfo, Error>> + Send;
    type GetNextFrame2ResponseFut: Future<Output = Result<FrameInfo2, Error>> + Send;

    // Required methods
    fn get_properties(&self) -> Self::GetPropertiesResponseFut;
    fn get_properties2(&self) -> Self::GetProperties2ResponseFut;
    fn set_crop_region(&self, region: Option<&RectF>) -> Result<(), Error>;
    fn watch_crop_region(&self) -> Self::WatchCropRegionResponseFut;
    fn set_resolution(&self, coded_size: &Size) -> Result<(), Error>;
    fn watch_resolution(&self) -> Self::WatchResolutionResponseFut;
    fn set_buffer_collection(
        &self,
        token: Option<ClientEnd<BufferCollectionTokenMarker>>
    ) -> Result<(), Error>;
    fn watch_buffer_collection(&self) -> Self::WatchBufferCollectionResponseFut;
    fn watch_orientation(&self) -> Self::WatchOrientationResponseFut;
    fn get_next_frame(&self) -> Self::GetNextFrameResponseFut;
    fn get_next_frame2(&self) -> Self::GetNextFrame2ResponseFut;
    fn rebind(&self, request: ServerEnd<Stream_Marker>) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

source

fn get_properties(&self) -> Self::GetPropertiesResponseFut

source

fn get_properties2(&self) -> Self::GetProperties2ResponseFut

source

fn set_crop_region(&self, region: Option<&RectF>) -> Result<(), Error>

source

fn watch_crop_region(&self) -> Self::WatchCropRegionResponseFut

source

fn set_resolution(&self, coded_size: &Size) -> Result<(), Error>

source

fn watch_resolution(&self) -> Self::WatchResolutionResponseFut

source

fn set_buffer_collection( &self, token: Option<ClientEnd<BufferCollectionTokenMarker>> ) -> Result<(), Error>

source

fn watch_buffer_collection(&self) -> Self::WatchBufferCollectionResponseFut

source

fn watch_orientation(&self) -> Self::WatchOrientationResponseFut

source

fn get_next_frame(&self) -> Self::GetNextFrameResponseFut

source

fn get_next_frame2(&self) -> Self::GetNextFrame2ResponseFut

source

fn rebind(&self, request: ServerEnd<Stream_Marker>) -> Result<(), Error>

Implementors§

source§

impl Stream_ProxyInterface for Stream_Proxy

§

type GetPropertiesResponseFut = QueryResponseFut<StreamProperties>

§

type GetProperties2ResponseFut = QueryResponseFut<StreamProperties2>

§

type WatchCropRegionResponseFut = QueryResponseFut<Option<Box<RectF>>>

§

type WatchResolutionResponseFut = QueryResponseFut<Size>

§

type WatchBufferCollectionResponseFut = QueryResponseFut<ClientEnd<BufferCollectionTokenMarker>>

§

type WatchOrientationResponseFut = QueryResponseFut<Orientation>

§

type GetNextFrameResponseFut = QueryResponseFut<FrameInfo>

§

type GetNextFrame2ResponseFut = QueryResponseFut<FrameInfo2>