Skip to main content

load

Function load 

Source
pub async fn load() -> Result<ConfigAst>
Expand description

Load and parse /etc/ssh/sshd_config into a lossless AST.

Returns an empty AST if the file does not exist.

ยงErrors

Returns Error::Io if the file exists but cannot be read.