pub struct TreeWorkerConfig {
pub fanout: usize,
pub timeout: Option<Duration>,
pub stderr: bool,
pub remote: bool,
pub source: Option<String>,
pub dest: Option<String>,
pub reverse: bool,
pub preserve: bool,
}Expand description
Configuration for tree-based execution.
Fields§
§fanout: usizeMaximum concurrent operations per gateway.
timeout: Option<Duration>Command timeout per node.
stderr: boolWhether to capture stderr.
remote: boolWhether targets are remote (SSH) or local.
source: Option<String>Whether this is a copy operation.
dest: Option<String>Destination for copy operations.
reverse: boolWhether this is a reverse copy (remote -> local).
preserve: boolWhether to preserve file attributes in copy.
Trait Implementations§
Source§impl Clone for TreeWorkerConfig
impl Clone for TreeWorkerConfig
Source§impl Debug for TreeWorkerConfig
impl Debug for TreeWorkerConfig
Auto Trait Implementations§
impl Freeze for TreeWorkerConfig
impl RefUnwindSafe for TreeWorkerConfig
impl Send for TreeWorkerConfig
impl Sync for TreeWorkerConfig
impl Unpin for TreeWorkerConfig
impl UnsafeUnpin for TreeWorkerConfig
impl UnwindSafe for TreeWorkerConfig
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