pub enum HostVsockAcceptorRequest {
Accept {
src_cid: u32,
src_port: u32,
port: u32,
responder: HostVsockAcceptorAcceptResponder,
},
}
Expand description
Exposed by a host capable of listening via vsocks. A variant of a
GuestVsockAcceptor
that is responsible for creating the socket
with which
to communicate.
Variants§
Implementations§
Source§impl HostVsockAcceptorRequest
impl HostVsockAcceptorRequest
pub fn into_accept( self, ) -> Option<(u32, u32, u32, HostVsockAcceptorAcceptResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostVsockAcceptorRequest
impl !RefUnwindSafe for HostVsockAcceptorRequest
impl Send for HostVsockAcceptorRequest
impl Sync for HostVsockAcceptorRequest
impl Unpin for HostVsockAcceptorRequest
impl !UnwindSafe for HostVsockAcceptorRequest
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