pub struct RunSolo5Builder { /* private fields */ }Expand description
A runSolo5 mutation being assembled — see Client::run_solo5.
Implementations§
Source§impl RunSolo5Builder
impl RunSolo5Builder
Sourcepub fn port(self, forward: impl Into<String>) -> Self
pub fn port(self, forward: impl Into<String>) -> Self
Add a host->guest TCP port forward, "HOST:GUEST".
Sourcepub fn forward(self, host: u16, guest: u16) -> Self
pub fn forward(self, host: u16, guest: u16) -> Self
Add a port forward from numbers instead of a string.
Sourcepub fn path(self, path: impl Into<String>) -> Self
pub fn path(self, path: impl Into<String>) -> Self
A .hvt binary, or a project directory whose dist/ holds one
(defaults to .).
Sourcepub fn block(self, block: impl Into<String>) -> Self
pub fn block(self, block: impl Into<String>) -> Self
Backing file for a declared block device, "NAME=FILE" (repeatable).
Auto Trait Implementations§
impl Freeze for RunSolo5Builder
impl RefUnwindSafe for RunSolo5Builder
impl Send for RunSolo5Builder
impl Sync for RunSolo5Builder
impl Unpin for RunSolo5Builder
impl UnsafeUnpin for RunSolo5Builder
impl UnwindSafe for RunSolo5Builder
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