pub struct HookServer { /* private fields */ }Implementations§
Source§impl HookServer
impl HookServer
pub fn new() -> Self
pub async fn serve(self, listener: TcpListener) -> Result<(), MicroVmError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookServer
impl RefUnwindSafe for HookServer
impl Send for HookServer
impl Sync for HookServer
impl Unpin for HookServer
impl UnsafeUnpin for HookServer
impl UnwindSafe for HookServer
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