pub struct ClientIfSession { /* private fields */ }
Trait Implementations
sourceimpl IClientIfSession for ClientIfSession
impl IClientIfSession for ClientIfSession
fn get_state_change_event(&mut self) -> Result<CopyHandle>
fn set_interface(
&mut self,
unk: u8,
profile_buf: InMapAliasBuffer<InterfaceProfile>
) -> Result<()>
fn get_interface(
&mut self,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<()>
fn get_alternate_interface(
&mut self,
unk: u8,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<()>
fn get_current_frame_deprecated(&mut self) -> Result<u32>
fn get_current_frame(&mut self) -> Result<u32>
fn ctrl_xfer_async(
&mut self,
request_type: u8,
request: u8,
val: u16,
idx: u16,
length: u16,
buf_addr: u64
) -> Result<()>
fn submit_control_in_request(
&mut self,
request: u8,
request_type: u8,
val: u16,
idx: u16,
length: u16,
timeout_ms: u32,
out_buf: OutMapAliasBuffer<u8>
) -> Result<u32>
fn get_ctrl_xfer_completion_event(&mut self) -> Result<CopyHandle>
fn submit_control_out_request(
&mut self,
request: u8,
request_type: u8,
val: u16,
idx: u16,
length: u16,
timeout_ms: u32,
buf: InMapAliasBuffer<u8>
) -> Result<u32>
fn get_ctrl_xfer_report(
&mut self,
out_report_buf: OutMapAliasBuffer<XferReport>
) -> Result<()>
fn reset_device(&mut self, unk: u32) -> Result<()>
fn open_usb_ep_deprecated(
&mut self,
max_urb_count: u16,
ep_type: u32,
ep_number: u32,
ep_direction: u32,
max_xfer_size: u32
) -> Result<(EndPointDescriptor, Shared<dyn IClientEpSession>)>
fn open_usb_ep(
&mut self,
max_urb_count: u16,
ep_type: u32,
ep_number: u32,
ep_direction: u32,
max_xfer_size: u32
) -> Result<(EndPointDescriptor, Shared<dyn IClientEpSession>)>
fn sf_server_impl_get_state_change_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_interface(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_interface(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_alternate_interface(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_current_frame_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_current_frame(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_ctrl_xfer_async(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_submit_control_in_request(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_ctrl_xfer_completion_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_submit_control_out_request(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_ctrl_xfer_report(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_reset_device(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_open_usb_ep_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_open_usb_ep(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
sourceimpl IClientObject for ClientIfSession
impl IClientObject for ClientIfSession
fn new(session: Session) -> Self
fn get_session(&mut self) -> &mut Session
fn get_info(&mut self) -> ObjectInfo
fn set_info(&mut self, info: ObjectInfo)
fn convert_to_domain(&mut self) -> Result<()>
fn query_own_pointer_buffer_size(&mut self) -> Result<u16>
fn close_session(&mut self)
fn is_valid(&mut self) -> bool
fn is_domain(&mut self) -> bool
sourceimpl IObject for ClientIfSession
impl IObject for ClientIfSession
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for ClientIfSession
impl Send for ClientIfSession
impl Sync for ClientIfSession
impl Unpin for ClientIfSession
impl UnwindSafe for ClientIfSession
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more