pub struct User { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for User
impl IClientObject for User
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 User
impl IObject for User
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
sourceimpl IUser for User
impl IUser for User
fn initialize(
&mut self,
aruid: AppletResourceUserId,
process_id: ProcessId,
mcu_data: InMapAliasBuffer<McuVersionData>
) -> Result<()>
fn finalize(&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 open_application_area(
&mut self,
device_handle: DeviceHandle,
access_id: AccessId
) -> Result<()>
fn get_application_area(
&mut self,
device_handle: DeviceHandle,
out_data: OutMapAliasBuffer<u8>
) -> Result<u32>
fn set_application_area(
&mut self,
device_handle: DeviceHandle,
data: InMapAliasBuffer<u8>
) -> Result<()>
fn flush(&mut self, device_handle: DeviceHandle) -> Result<()>
fn restore(&mut self, device_handle: DeviceHandle) -> Result<()>
fn create_application_area(
&mut self,
device_handle: DeviceHandle,
access_id: AccessId,
data: InMapAliasBuffer<u8>
) -> 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 get_application_area_size(
&mut self,
device_handle: DeviceHandle
) -> Result<u32>
fn attach_availability_change_event(&mut self) -> Result<CopyHandle>
fn recreate_application_area(
&mut self,
device_handle: DeviceHandle,
access_id: AccessId,
data: InMapAliasBuffer<u8>
) -> Result<()>
fn sf_server_impl_initialize(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_finalize(
&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_open_application_area(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_application_area(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_application_area(
&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_create_application_area(
&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_get_application_area_size(
&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_recreate_application_area(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
Auto Trait Implementations
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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