Skip to main content

parse_pwd_file

Function parse_pwd_file 

Source
pub fn parse_pwd_file(path: impl AsRef<Path>) -> Result<PwdDisplay, Error>
Expand description

Read and parse a .pwd display file.

ยงErrors

Error::Io when the file cannot be read, or Error::FormatRead when the display bytes are not a supported PowerWorld .pwd shape.