pub struct FirecrackerConnector<B: Backend> { /* private fields */ }
Available on crate features
firecracker
and hyper-util
only.Expand description
A hyper-util connector that accepts hex-encoded Firecracker URIs and uses them to connect to Firecracker sockets via the given Backend.
Implementations§
Trait Implementations§
Source§impl<B: Clone + Backend> Clone for FirecrackerConnector<B>
impl<B: Clone + Backend> Clone for FirecrackerConnector<B>
Source§fn clone(&self) -> FirecrackerConnector<B>
fn clone(&self) -> FirecrackerConnector<B>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<B: Backend> Service<Uri> for FirecrackerConnector<B>
impl<B: Backend> Service<Uri> for FirecrackerConnector<B>
Source§type Response = ConnectableIo<<B as Backend>::FirecrackerIo>
type Response = ConnectableIo<<B as Backend>::FirecrackerIo>
Responses given by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<<FirecrackerConnector<B> as Service<Uri>>::Response, <FirecrackerConnector<B> as Service<Uri>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<FirecrackerConnector<B> as Service<Uri>>::Response, <FirecrackerConnector<B> as Service<Uri>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<B> Freeze for FirecrackerConnector<B>
impl<B> RefUnwindSafe for FirecrackerConnector<B>where
B: RefUnwindSafe,
impl<B> Send for FirecrackerConnector<B>where
B: Send,
impl<B> Sync for FirecrackerConnector<B>where
B: Sync,
impl<B> Unpin for FirecrackerConnector<B>where
B: Unpin,
impl<B> UnwindSafe for FirecrackerConnector<B>where
B: 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