pub struct ClientRootSession { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for ClientRootSession
impl IClientObject for ClientRootSession
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 IClientRootSession for ClientRootSession
impl IClientRootSession for ClientRootSession
fn bind_client_process(&mut self, self_process_handle: CopyHandle) -> Result<()>
fn query_all_interfaces_deprecated(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>
fn query_all_interfaces(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>
fn query_available_interfaces_deprecated(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>
fn query_available_interfaces(
&mut self,
filter: DeviceFilter,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>
fn query_acquired_interfaces_deprecated(
&mut self,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>
fn query_acquired_interfaces(
&mut self,
out_intfs: OutMapAliasBuffer<InterfaceQueryOutput>
) -> Result<u32>
fn create_interface_available_event_deprecated(
&mut self,
event_id: InterfaceAvailableEventId,
filter: DeviceFilter
) -> Result<CopyHandle>
fn create_interface_available_event(
&mut self,
event_id: InterfaceAvailableEventId,
filter: DeviceFilter
) -> Result<CopyHandle>
fn destroy_interface_available_event_deprecated(
&mut self,
event_id: InterfaceAvailableEventId
) -> Result<()>
fn destroy_interface_available_event(
&mut self,
event_id: InterfaceAvailableEventId
) -> Result<()>
fn get_interface_state_change_event_deprecated(&mut self) -> Result<CopyHandle>
fn get_interface_state_change_event(&mut self) -> Result<CopyHandle>
fn acquire_usb_if_deprecated(
&mut self,
id: u32,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<Shared<dyn IClientIfSession>>
fn acquire_usb_if(
&mut self,
id: u32,
out_info_buf: OutMapAliasBuffer<InterfaceInfo>,
out_profile_buf: OutMapAliasBuffer<InterfaceProfile>
) -> Result<Shared<dyn IClientIfSession>>
fn get_descriptor_string(
&mut self,
unk_1: u8,
unk_2: bool,
unk_maybe_id: u32,
out_desc_buf: OutMapAliasBuffer<u8>
) -> Result<u32>
fn reset_device(&mut self, unk: u32) -> Result<()>
fn sf_server_impl_bind_client_process(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_query_all_interfaces_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_query_all_interfaces(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_query_available_interfaces_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_query_available_interfaces(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_query_acquired_interfaces_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_query_acquired_interfaces(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_create_interface_available_event_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_create_interface_available_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_destroy_interface_available_event_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_destroy_interface_available_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_interface_state_change_event_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_interface_state_change_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_acquire_usb_if_deprecated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_acquire_usb_if(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_descriptor_string(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_reset_device(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
sourceimpl IObject for ClientRootSession
impl IObject for ClientRootSession
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
sourceimpl IService for ClientRootSession
impl IService for ClientRootSession
fn get_name() -> ServiceName
fn as_domain() -> bool
fn post_initialize(&mut self) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for ClientRootSession
impl Send for ClientRootSession
impl Sync for ClientRootSession
impl Unpin for ClientRootSession
impl UnwindSafe for ClientRootSession
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