pub struct UnixStreamPortBackend { /* private fields */ }Expand description
Factory that connects guest streams to one existing host Unix socket.
Implementations§
Trait Implementations§
Source§impl VsockPortBackend for UnixStreamPortBackend
impl VsockPortBackend for UnixStreamPortBackend
Source§fn connect(
&self,
_request: VsockConnectRequest,
_notifier: VsockNotifier,
) -> Result<Box<dyn VsockStreamBackend>>
fn connect( &self, _request: VsockConnectRequest, _notifier: VsockNotifier, ) -> Result<Box<dyn VsockStreamBackend>>
Accept a guest connection and return its byte-stream endpoint.
Auto Trait Implementations§
impl Freeze for UnixStreamPortBackend
impl RefUnwindSafe for UnixStreamPortBackend
impl Send for UnixStreamPortBackend
impl Sync for UnixStreamPortBackend
impl Unpin for UnixStreamPortBackend
impl UnsafeUnpin for UnixStreamPortBackend
impl UnwindSafe for UnixStreamPortBackend
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