pub struct HostScpResult {
pub name: String,
pub ok: bool,
pub bytes: Option<u64>,
pub duration_ms: Option<u64>,
pub local: Option<String>,
pub error: Option<String>,
}Expand description
Per-host SCP outcome for multi-host batch output.
Fields§
§name: StringVPS name.
ok: boolWhether transfer succeeded.
bytes: Option<u64>Bytes transferred when ok.
duration_ms: Option<u64>Duration ms when measured.
local: Option<String>Effective local path (download may be host-suffixed).
error: Option<String>Error detail.
Trait Implementations§
Source§impl Clone for HostScpResult
impl Clone for HostScpResult
Source§fn clone(&self) -> HostScpResult
fn clone(&self) -> HostScpResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HostScpResult
impl RefUnwindSafe for HostScpResult
impl Send for HostScpResult
impl Sync for HostScpResult
impl Unpin for HostScpResult
impl UnsafeUnpin for HostScpResult
impl UnwindSafe for HostScpResult
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