Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/src/process/
H A Dresource.rs64 type Error = SystemError; typedef
66 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() argument
133 type Error = SystemError; typedef
135 fn try_from(value: usize) -> Result<Self, Self::Error> { in try_from() argument
H A Dabi.rs55 type Error = &'static str; typedef
57 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/arch/x86_64/init/
H A Dboot.rs22 type Error = SystemError; typedef
24 fn try_from(value: u64) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/driver/base/block/
H A Ddisk_info.rs56 type Error = SystemError; typedef
58 fn try_into(self) -> Result<GeneralBlockRange, Self::Error> { in try_into()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs77 type Error = SystemError; typedef
79 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/time/
H A Dsyscall.rs60 type Error = SystemError; typedef
62 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/net/
H A Dsyscall.rs810 type Error = SystemError; typedef
812 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() argument
931 type Error = SystemError; typedef
933 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() argument
1020 type Error = SystemError; typedef
1022 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dapic_timer.rs287 type Error = SystemError; typedef
289 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument
H A Dmod.rs388 type Error = SystemError; typedef
390 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/net/socket/
H A Dmod.rs749 type Error = SystemError; typedef
750 fn try_from(x: u16) -> Result<Self, Self::Error> { in try_from() argument
769 type Error = SystemError; typedef
770 fn try_from(x: u8) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs146 Error, // 暂时没有用上 enumerator
/DragonOS/kernel/src/driver/virtio/
H A Dtransport_pci.rs374 fn config_space<T>(&self) -> Result<NonNull<T>, Error> { in config_space() argument
/DragonOS/kernel/src/driver/pci/
H A Dpci.rs1174 type Error = PciError; typedef
1175 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument
/DragonOS/kernel/src/mm/
H A Dpage.rs682 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> { in fmt() argument