fidl_fuchsia_camera3

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§

Source

type GetPropertiesResponseFut: Future<Output = Result<StreamProperties, Error>> + Send

Source

type GetProperties2ResponseFut: Future<Output = Result<StreamProperties2, Error>> + Send

Source

type WatchCropRegionResponseFut: Future<Output = Result<Option<Box<RectF>>, Error>> + Send

Source

type WatchResolutionResponseFut: Future<Output = Result<Size, Error>> + Send

Source

type WatchBufferCollection2ResponseFut: Future<Output = Result<ClientEnd<BufferCollectionTokenMarker>, Error>> + Send

Source

type WatchBufferCollectionResponseFut: Future<Output = Result<ClientEnd<BufferCollectionTokenMarker>, Error>> + Send

Source

type WatchOrientationResponseFut: Future<Output = Result<Orientation, Error>> + Send

Source

type GetNextFrameResponseFut: Future<Output = Result<FrameInfo, Error>> + Send

Source

type GetNextFrame2ResponseFut: Future<Output = Result<FrameInfo2, Error>> + Send

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_collection2( &self, token: Option<ClientEnd<BufferCollectionTokenMarker>>, ) -> Result<(), Error>

Source

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

Source

fn watch_buffer_collection2(&self) -> Self::WatchBufferCollection2ResponseFut

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

Source§

type GetPropertiesResponseFut = QueryResponseFut<StreamProperties>

Source§

type GetProperties2ResponseFut = QueryResponseFut<StreamProperties2>

Source§

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

Source§

type WatchResolutionResponseFut = QueryResponseFut<Size>

Source§

type WatchBufferCollection2ResponseFut = QueryResponseFut<ClientEnd<BufferCollectionTokenMarker>>

Source§

type WatchBufferCollectionResponseFut = QueryResponseFut<ClientEnd<BufferCollectionTokenMarker>>

Source§

type WatchOrientationResponseFut = QueryResponseFut<Orientation>

Source§

type GetNextFrameResponseFut = QueryResponseFut<FrameInfo>

Source§

type GetNextFrame2ResponseFut = QueryResponseFut<FrameInfo2>