pub struct NetworkConnectResult {
pub raw_output: CommandOutput,
}
Expand description
Result from network connect command
Fields§
§raw_output: CommandOutput
Raw command output
Implementations§
Source§impl NetworkConnectResult
impl NetworkConnectResult
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Check if the command was successful
Trait Implementations§
Source§impl Clone for NetworkConnectResult
impl Clone for NetworkConnectResult
Source§fn clone(&self) -> NetworkConnectResult
fn clone(&self) -> NetworkConnectResult
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 NetworkConnectResult
impl Debug for NetworkConnectResult
Source§impl From<CommandOutput> for NetworkConnectResult
impl From<CommandOutput> for NetworkConnectResult
Source§fn from(output: CommandOutput) -> Self
fn from(output: CommandOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkConnectResult
impl RefUnwindSafe for NetworkConnectResult
impl Send for NetworkConnectResult
impl Sync for NetworkConnectResult
impl Unpin for NetworkConnectResult
impl UnwindSafe for NetworkConnectResult
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