Fix warnings, implement Errors
This commit is contained in:
@@ -10,14 +10,12 @@
|
||||
use core::panic;
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
hash::Hash,
|
||||
sync::{Arc, Mutex},
|
||||
};
|
||||
|
||||
use anyhow::bail;
|
||||
use futures::future::join_all;
|
||||
use mikrotik_rs::{Command, CommandBuilder, Event, MikrotikDevice};
|
||||
use regex::Regex;
|
||||
use mikrotik_rs::{CommandBuilder, Event, MikrotikDevice};
|
||||
|
||||
use crate::config::{Config, ConfigHost};
|
||||
|
||||
@@ -97,6 +95,7 @@ impl MtCommander {
|
||||
}*/
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl MtCommanderInternal {
|
||||
fn new(cfg: Config) -> Self {
|
||||
Self { cfg: Some(cfg) }
|
||||
|
||||
Reference in New Issue
Block a user