pub type ShutdownResult = Result<()>;
A specialized Result type for shut down, reboot and log out operations.
Result
pub enum ShutdownResult { Ok(()), Err(Error), }
Contains the success value
Contains the error value