pub trait PartitionAndDeviceProxyInterface: Send + Sync {
Show 34 associated items type GetInfoResponseFut: Future<Output = Result<BlockGetInfoResult, Error>> + Send; type GetStatsResponseFut: Future<Output = Result<BlockGetStatsResult, Error>> + Send; type ReadBlocksResponseFut: Future<Output = Result<BlockReadBlocksResult, Error>> + Send; type WriteBlocksResponseFut: Future<Output = Result<BlockWriteBlocksResult, Error>> + Send; type GetTypeGuidResponseFut: Future<Output = Result<(i32, Option<Box<Guid>>), Error>> + Send; type GetInstanceGuidResponseFut: Future<Output = Result<(i32, Option<Box<Guid>>), Error>> + Send; type GetNameResponseFut: Future<Output = Result<(i32, Option<String>), Error>> + Send; type BindResponseFut: Future<Output = Result<ControllerBindResult, Error>> + Send; type RebindResponseFut: Future<Output = Result<ControllerRebindResult, Error>> + Send; type UnbindChildrenResponseFut: Future<Output = Result<ControllerUnbindChildrenResult, Error>> + Send; type ScheduleUnbindResponseFut: Future<Output = Result<ControllerScheduleUnbindResult, Error>> + Send; type GetTopologicalPathResponseFut: Future<Output = Result<ControllerGetTopologicalPathResult, Error>> + Send; type GetMinDriverLogSeverityResponseFut: Future<Output = Result<(i32, LogLevelFilter), Error>> + Send; type SetMinDriverLogSeverityResponseFut: Future<Output = Result<i32, Error>> + Send; type GetCurrentPerformanceStateResponseFut: Future<Output = Result<u32, Error>> + Send; type SetPerformanceStateResponseFut: Future<Output = Result<(i32, u32), Error>> + Send; // Required methods fn get_info(&self) -> Self::GetInfoResponseFut; fn get_stats(&self, clear: bool) -> Self::GetStatsResponseFut; fn open_session( &self, session: ServerEnd<SessionMarker> ) -> Result<(), Error>; fn read_blocks( &self, vmo: Vmo, length: u64, dev_offset: u64, vmo_offset: u64 ) -> Self::ReadBlocksResponseFut; fn write_blocks( &self, vmo: Vmo, length: u64, dev_offset: u64, vmo_offset: u64 ) -> Self::WriteBlocksResponseFut; fn get_type_guid(&self) -> Self::GetTypeGuidResponseFut; fn get_instance_guid(&self) -> Self::GetInstanceGuidResponseFut; fn get_name(&self) -> Self::GetNameResponseFut; fn connect_to_device_fidl(&self, server: Channel) -> Result<(), Error>; fn bind(&self, driver: &str) -> Self::BindResponseFut; fn rebind(&self, driver: &str) -> Self::RebindResponseFut; fn unbind_children(&self) -> Self::UnbindChildrenResponseFut; fn schedule_unbind(&self) -> Self::ScheduleUnbindResponseFut; fn get_topological_path(&self) -> Self::GetTopologicalPathResponseFut; fn get_min_driver_log_severity( &self ) -> Self::GetMinDriverLogSeverityResponseFut; fn set_min_driver_log_severity( &self, severity: LogLevelFilter ) -> Self::SetMinDriverLogSeverityResponseFut; fn get_current_performance_state( &self ) -> Self::GetCurrentPerformanceStateResponseFut; fn set_performance_state( &self, requested_state: u32 ) -> Self::SetPerformanceStateResponseFut;
}

Required Associated Types§

source

type GetInfoResponseFut: Future<Output = Result<BlockGetInfoResult, Error>> + Send

source

type GetStatsResponseFut: Future<Output = Result<BlockGetStatsResult, Error>> + Send

source

type ReadBlocksResponseFut: Future<Output = Result<BlockReadBlocksResult, Error>> + Send

source

type WriteBlocksResponseFut: Future<Output = Result<BlockWriteBlocksResult, Error>> + Send

source

type GetTypeGuidResponseFut: Future<Output = Result<(i32, Option<Box<Guid>>), Error>> + Send

source

type GetInstanceGuidResponseFut: Future<Output = Result<(i32, Option<Box<Guid>>), Error>> + Send

source

type GetNameResponseFut: Future<Output = Result<(i32, Option<String>), Error>> + Send

source

type BindResponseFut: Future<Output = Result<ControllerBindResult, Error>> + Send

source

type RebindResponseFut: Future<Output = Result<ControllerRebindResult, Error>> + Send

source

type UnbindChildrenResponseFut: Future<Output = Result<ControllerUnbindChildrenResult, Error>> + Send

source

type ScheduleUnbindResponseFut: Future<Output = Result<ControllerScheduleUnbindResult, Error>> + Send

source

type GetTopologicalPathResponseFut: Future<Output = Result<ControllerGetTopologicalPathResult, Error>> + Send

source

type GetMinDriverLogSeverityResponseFut: Future<Output = Result<(i32, LogLevelFilter), Error>> + Send

source

type SetMinDriverLogSeverityResponseFut: Future<Output = Result<i32, Error>> + Send

source

type GetCurrentPerformanceStateResponseFut: Future<Output = Result<u32, Error>> + Send

source

type SetPerformanceStateResponseFut: Future<Output = Result<(i32, u32), Error>> + Send

Required Methods§

source

fn get_info(&self) -> Self::GetInfoResponseFut

source

fn get_stats(&self, clear: bool) -> Self::GetStatsResponseFut

source

fn open_session(&self, session: ServerEnd<SessionMarker>) -> Result<(), Error>

source

fn read_blocks( &self, vmo: Vmo, length: u64, dev_offset: u64, vmo_offset: u64 ) -> Self::ReadBlocksResponseFut

source

fn write_blocks( &self, vmo: Vmo, length: u64, dev_offset: u64, vmo_offset: u64 ) -> Self::WriteBlocksResponseFut

source

fn get_type_guid(&self) -> Self::GetTypeGuidResponseFut

source

fn get_instance_guid(&self) -> Self::GetInstanceGuidResponseFut

source

fn get_name(&self) -> Self::GetNameResponseFut

source

fn connect_to_device_fidl(&self, server: Channel) -> Result<(), Error>

source

fn bind(&self, driver: &str) -> Self::BindResponseFut

source

fn rebind(&self, driver: &str) -> Self::RebindResponseFut

source

fn unbind_children(&self) -> Self::UnbindChildrenResponseFut

source

fn schedule_unbind(&self) -> Self::ScheduleUnbindResponseFut

source

fn get_topological_path(&self) -> Self::GetTopologicalPathResponseFut

source

fn get_min_driver_log_severity( &self ) -> Self::GetMinDriverLogSeverityResponseFut

source

fn set_min_driver_log_severity( &self, severity: LogLevelFilter ) -> Self::SetMinDriverLogSeverityResponseFut

source

fn get_current_performance_state( &self ) -> Self::GetCurrentPerformanceStateResponseFut

source

fn set_performance_state( &self, requested_state: u32 ) -> Self::SetPerformanceStateResponseFut

Implementors§

source§

impl PartitionAndDeviceProxyInterface for PartitionAndDeviceProxy

§

type GetInfoResponseFut = QueryResponseFut<Result<BlockInfo, i32>>

§

type GetStatsResponseFut = QueryResponseFut<Result<BlockStats, i32>>

§

type ReadBlocksResponseFut = QueryResponseFut<Result<(), i32>>

§

type WriteBlocksResponseFut = QueryResponseFut<Result<(), i32>>

§

type GetTypeGuidResponseFut = QueryResponseFut<(i32, Option<Box<Guid, Global>>)>

§

type GetInstanceGuidResponseFut = QueryResponseFut<(i32, Option<Box<Guid, Global>>)>

§

type GetNameResponseFut = QueryResponseFut<(i32, Option<String>)>

§

type BindResponseFut = QueryResponseFut<Result<(), i32>>

§

type RebindResponseFut = QueryResponseFut<Result<(), i32>>

§

type UnbindChildrenResponseFut = QueryResponseFut<Result<(), i32>>

§

type ScheduleUnbindResponseFut = QueryResponseFut<Result<(), i32>>

§

type GetTopologicalPathResponseFut = QueryResponseFut<Result<String, i32>>

§

type GetMinDriverLogSeverityResponseFut = QueryResponseFut<(i32, LogLevelFilter)>

§

type SetMinDriverLogSeverityResponseFut = QueryResponseFut<i32>

§

type GetCurrentPerformanceStateResponseFut = QueryResponseFut<u32>

§

type SetPerformanceStateResponseFut = QueryResponseFut<(i32, u32)>