pub type Result = Result<()>;
Expand description
A type alias for std::io::Result<()>
used in Server::new()?.run(...)
.
Server::run
returns type !
(never) so using Ok(())
is not needed.
Aliased Type§
enum Result {
Ok(()),
Err(Error),
}