pub struct FcnetdConnection { /* private fields */ }Implementations§
Source§impl FcnetdConnection
impl FcnetdConnection
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 !Freeze for FcnetdConnection
impl RefUnwindSafe for FcnetdConnection
impl Send for FcnetdConnection
impl Sync for FcnetdConnection
impl Unpin for FcnetdConnection
impl UnwindSafe for FcnetdConnection
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