pub struct FcnetdConnection<S: Socket>(/* private fields */);Implementations§
Source§impl<S: Socket> FcnetdConnection<S>
impl<S: Socket> FcnetdConnection<S>
pub async fn connect(path: impl AsRef<Path>) -> Result<Self, Error>
pub async fn connect_with_password( path: impl AsRef<Path>, password: impl Into<String>, ) -> Result<Self, Error>
pub async fn run( &mut self, network: &FirecrackerNetwork, operation: FirecrackerNetworkOperation, ) -> Result<(), FcnetdError>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for FcnetdConnection<S>where
S: Freeze,
impl<S> RefUnwindSafe for FcnetdConnection<S>where
S: RefUnwindSafe,
impl<S> Send for FcnetdConnection<S>
impl<S> Sync for FcnetdConnection<S>
impl<S> Unpin for FcnetdConnection<S>
impl<S> UnwindSafe for FcnetdConnection<S>where
S: UnwindSafe,
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