Stream_ProxyInterface

Trait Stream_ProxyInterface 

Source
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 WatchBufferCollection2ResponseFut: Future<Output = Result<ClientEnd<BufferCollectionTokenMarker>, 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;

Show 14 methods // 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_collection2( &self, token: Option<ClientEnd<BufferCollectionTokenMarker>>, ) -> Result<(), Error>; fn set_buffer_collection( &self, token: Option<ClientEnd<BufferCollectionTokenMarker>>, ) -> Result<(), Error>; fn watch_buffer_collection2( &self, ) -> Self::WatchBufferCollection2ResponseFut; 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§

Implementors§