pub enum PeerLocation {
Local,
Remote(RemoteMachine),
}Expand description
Specifies where a peer should be spawned
Variants§
Local
Spawn the peer on the local machine
Remote(RemoteMachine)
Spawn the peer on a remote machine via SSH
Trait Implementations§
Source§impl Clone for PeerLocation
impl Clone for PeerLocation
Source§fn clone(&self) -> PeerLocation
fn clone(&self) -> PeerLocation
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 PeerLocation
impl Debug for PeerLocation
Auto Trait Implementations§
impl Freeze for PeerLocation
impl RefUnwindSafe for PeerLocation
impl Send for PeerLocation
impl Sync for PeerLocation
impl Unpin for PeerLocation
impl UnwindSafe for PeerLocation
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