Fix warnings, implement Errors

This commit is contained in:
2026-08-21 15:08:39 +03:00
parent 0642807b06
commit 6395a8e672
5 changed files with 21 additions and 15 deletions

View File

@@ -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) }