pub struct System { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for System
impl IClientObject for System
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 System
impl IObject for System
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
sourceimpl ISystem for System
impl ISystem for System
fn initialize_system(
&mut self,
aruid: AppletResourceUserId,
process_id: ProcessId,
mcu_data: InMapAliasBuffer<McuVersionData>
) -> Result<()>
fn finalize_system(&mut self) -> Result<()>
fn list_devices(
&mut self,
out_devices: OutPointerBuffer<DeviceHandle>
) -> Result<u32>
fn start_detection(&mut self, device_handle: DeviceHandle) -> Result<()>
fn stop_detection(&mut self, device_handle: DeviceHandle) -> Result<()>
fn mount(
&mut self,
device_handle: DeviceHandle,
model_type: ModelType,
mount_target: MountTarget
) -> Result<()>
fn unmount(&mut self, device_handle: DeviceHandle) -> Result<()>
fn flush(&mut self, device_handle: DeviceHandle) -> Result<()>
fn restore(&mut self, device_handle: DeviceHandle) -> Result<()>
fn get_tag_info(
&mut self,
device_handle: DeviceHandle,
out_tag_info: OutFixedPointerBuffer<TagInfo>
) -> Result<()>
fn get_register_info(
&mut self,
device_handle: DeviceHandle,
out_register_info: OutFixedPointerBuffer<RegisterInfo>
) -> Result<()>
fn get_common_info(
&mut self,
device_handle: DeviceHandle,
out_common_info: OutFixedPointerBuffer<CommonInfo>
) -> Result<()>
fn get_model_info(
&mut self,
device_handle: DeviceHandle,
out_model_info: OutFixedPointerBuffer<ModelInfo>
) -> Result<()>
fn attach_activate_event(
&mut self,
device_handle: DeviceHandle
) -> Result<CopyHandle>
fn attach_deactivate_event(
&mut self,
device_handle: DeviceHandle
) -> Result<CopyHandle>
fn get_state(&mut self) -> Result<State>
fn get_device_state(
&mut self,
device_handle: DeviceHandle
) -> Result<DeviceState>
fn get_npad_id(&mut self, device_handle: DeviceHandle) -> Result<u32>
fn attach_availability_change_event(&mut self) -> Result<CopyHandle>
fn format(&mut self, device_handle: DeviceHandle) -> Result<()>
fn get_admin_info(
&mut self,
device_handle: DeviceHandle,
out_admin_info: OutFixedPointerBuffer<AdminInfo>
) -> Result<()>
fn get_register_info_private(
&mut self,
device_handle: DeviceHandle,
out_register_info_private: OutFixedPointerBuffer<RegisterInfoPrivate>
) -> Result<()>
fn set_register_info_private(
&mut self,
device_handle: DeviceHandle,
register_info_private: InFixedPointerBuffer<RegisterInfoPrivate>
) -> Result<()>
fn delete_register_info(&mut self, device_handle: DeviceHandle) -> Result<()>
fn delete_application_area(&mut self, device_handle: DeviceHandle) -> Result<()>
fn exists_application_area(
&mut self,
device_handle: DeviceHandle
) -> Result<bool>
fn sf_server_impl_initialize_system(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_finalize_system(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_list_devices(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_start_detection(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_stop_detection(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_mount(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_unmount(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_flush(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_restore(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_tag_info(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_register_info(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_common_info(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_model_info(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_attach_activate_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_attach_deactivate_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_state(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_device_state(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_npad_id(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_attach_availability_change_event(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_format(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_admin_info(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_register_info_private(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_register_info_private(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_delete_register_info(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_delete_application_area(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_exists_application_area(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
Auto Trait Implementations
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
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