pub trait SystemError: Into<u32> {
// Provided method
fn FormatMessage(self) -> String { ... }
}
Available on crate feature
kernel
only.Expand description
A system error which can be formatted with
FormatMessage
, exhibiting a description string
provided by the OS.
Provided Methods§
Sourcefn FormatMessage(self) -> String
fn FormatMessage(self) -> String
Returns the textual description of the system error, by calling
FormatMessage
.
function.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl SystemError for ERROR
impl SystemError for HRESULT
Available on crate feature
ole
only.