mirror of
https://github.com/arampoire/nut-rs.git
synced 2025-12-01 00:30:23 -05:00
Add SSL support
This commit is contained in:
parent
d78fd8c141
commit
64811b7421
15 changed files with 550 additions and 102 deletions
|
|
@ -22,7 +22,7 @@ fn main() -> nut_client::Result<()> {
|
|||
.with_debug(false) // Turn this on for debugging network chatter
|
||||
.build();
|
||||
|
||||
let mut conn = Connection::new(config)?;
|
||||
let mut conn = Connection::new(&config)?;
|
||||
|
||||
// Print a list of all UPS devices
|
||||
println!("Connected UPS devices:");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue