pub struct VirtioNetReadyResponder { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Debug for VirtioNetReadyResponder
impl Debug for VirtioNetReadyResponder
Source§impl Drop for VirtioNetReadyResponder
impl Drop for VirtioNetReadyResponder
Set the the channel to be shutdown (see VirtioNetControlHandle::shutdown
)
if the responder is dropped without sending a response, so that the client
doesn’t hang. To prevent this behavior, call drop_without_shutdown
.
Source§impl Responder for VirtioNetReadyResponder
impl Responder for VirtioNetReadyResponder
Source§type ControlHandle = VirtioNetControlHandle
type ControlHandle = VirtioNetControlHandle
The control handle for this protocol.
Source§fn control_handle(&self) -> &VirtioNetControlHandle
fn control_handle(&self) -> &VirtioNetControlHandle
Returns the
ControlHandle
for this protocol.Source§fn drop_without_shutdown(self)
fn drop_without_shutdown(self)
Drops the responder without setting the channel to shutdown. Read more
Auto Trait Implementations§
impl Freeze for VirtioNetReadyResponder
impl !RefUnwindSafe for VirtioNetReadyResponder
impl Send for VirtioNetReadyResponder
impl Sync for VirtioNetReadyResponder
impl Unpin for VirtioNetReadyResponder
impl !UnwindSafe for VirtioNetReadyResponder
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