Trait nx::ipc::sf::nfp::IUser

source · []
pub trait IUser: IObject {
Show 51 methods 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 { ... }
}

Required Methods

Provided Methods

Implementors