Trait nx::ipc::sf::nfp::IDebug

source · []
pub trait IDebug: IObject {
Show 79 methods fn initialize_debug(
        &mut self,
        aruid: AppletResourceUserId,
        process_id: ProcessId,
        mcu_data: InMapAliasBuffer<McuVersionData>
    ) -> Result<()>; fn finalize_debug(&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 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 get_all(
        &mut self,
        device_handle: DeviceHandle,
        out_data: OutFixedPointerBuffer<NfpData>
    ) -> Result<()>; fn set_all(
        &mut self,
        device_handle: DeviceHandle,
        data: InFixedPointerBuffer<NfpData>
    ) -> Result<()>; fn flush_debug(&mut self, device_handle: DeviceHandle) -> Result<()>; fn break_tag(
        &mut self,
        device_handle: DeviceHandle,
        break_type: BreakType
    ) -> Result<()>; fn read_backup_data(
        &mut self,
        device_handle: DeviceHandle,
        out_buf: OutMapAliasBuffer<u8>
    ) -> Result<u32>; fn write_backup_data(
        &mut self,
        device_handle: DeviceHandle,
        buf: InMapAliasBuffer<u8>
    ) -> Result<()>; fn write_ntf(
        &mut self,
        device_handle: DeviceHandle,
        write_type: WriteType,
        buf: InMapAliasBuffer<u8>
    ) -> Result<()>; fn sf_server_impl_initialize_debug(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_finalize_debug(
        &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 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 sf_server_impl_get_all(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_set_all(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_flush_debug(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_break_tag(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_read_backup_data(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_write_backup_data(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn sf_server_impl_write_ntf(
        &mut self,
        protocol: CommandProtocol,
        ctx: &mut ServerContext<'_>
    ) -> Result<()> { ... } fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}

Required Methods

Provided Methods

Implementors