pub type Never = <fn() -> ! as FnRet>::Output;
Expand description
A hacky type alias for the !
(never) type.
This knowingly opts out of rustc’s stability guarantees. Read the module documentation carefully before using this!
Trait Implementations§
Source§impl IntoResult<()> for Never
impl IntoResult<()> for Never
Source§fn into_result(self) -> Result<(), RunSystemError>
fn into_result(self) -> Result<(), RunSystemError>
Converts this type into the system output type.
Source§impl IntoResult<bool> for Never
impl IntoResult<bool> for Never
Source§fn into_result(self) -> Result<bool, RunSystemError>
fn into_result(self) -> Result<bool, RunSystemError>
Converts this type into the system output type.