mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
fix: update ssh_connection.rs Path import
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
use std::collections::HashMap;
|
||||
use std::fmt;
|
||||
use std::net::TcpStream;
|
||||
use std::path::PathBuf;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::atomic::{AtomicBool, AtomicI32, AtomicI64, Ordering};
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -2114,7 +2114,7 @@ pub trait SSHAuthCallback: Send + Sync {
|
||||
pub struct NoOpAuthCallback;
|
||||
|
||||
impl SSHAuthCallback for NoOpAuthCallback {
|
||||
fn request_passphrase(&self, _key_path: &PathBuf) -> Option<String> {
|
||||
fn request_passphrase(&self, _key_path: &Path) -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user