pub struct SocketTunnelServiceProxy(/* private fields */);
Expand description
The SocketTunnelService enables the driver framework to offer the SocketTunnel protocol to other components.
Implementations§
source§impl SocketTunnelServiceProxy
impl SocketTunnelServiceProxy
pub fn connect_to_socket_tunnel(&self) -> Result<SocketTunnelProxy, Error>
sourcepub fn connect_channel_to_socket_tunnel(
&self,
server_end: ServerEnd<SocketTunnelMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_socket_tunnel( &self, server_end: ServerEnd<SocketTunnelMarker>, ) -> Result<(), Error>
Like connect_to_socket_tunnel
, but accepts a server end.
Trait Implementations§
source§impl ServiceProxy for SocketTunnelServiceProxy
impl ServiceProxy for SocketTunnelServiceProxy
§type Service = SocketTunnelServiceMarker
type Service = SocketTunnelServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for SocketTunnelServiceProxy
impl !RefUnwindSafe for SocketTunnelServiceProxy
impl !Send for SocketTunnelServiceProxy
impl !Sync for SocketTunnelServiceProxy
impl Unpin for SocketTunnelServiceProxy
impl !UnwindSafe for SocketTunnelServiceProxy
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