pub struct NautilusConfig {
pub ssh_key: Option<String>,
pub connect_timeout_secs: u64,
pub exec_timeout_secs: u64,
pub rsync_extra_flags: Vec<String>,
pub strict_host_keys: bool,
}Expand description
Runtime configuration for NautilusAgent.
Fields§
§ssh_key: Option<String>Path to the SSH private key (e.g. ~/.ssh/id_rsa).
If None, SSH uses its default key search order.
connect_timeout_secs: u64SSH connect timeout in seconds (passed as -o ConnectTimeout=N).
exec_timeout_secs: u64Wall-clock timeout for any single command execution.
rsync_extra_flags: Vec<String>Extra rsync flags applied to every sync/push (e.g. ["--delete"]).
strict_host_keys: boolWhen true, enforce strict SSH host-key checking.
When false (default), new host keys are auto-accepted.
Trait Implementations§
Source§impl Clone for NautilusConfig
impl Clone for NautilusConfig
Source§fn clone(&self) -> NautilusConfig
fn clone(&self) -> NautilusConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NautilusConfig
impl Debug for NautilusConfig
Auto Trait Implementations§
impl Freeze for NautilusConfig
impl RefUnwindSafe for NautilusConfig
impl Send for NautilusConfig
impl Sync for NautilusConfig
impl Unpin for NautilusConfig
impl UnwindSafe for NautilusConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more