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_to_socket_tunnel_sync(
&self,
) -> Result<SocketTunnelSynchronousProxy, Error>
pub fn connect_to_socket_tunnel_sync( &self, ) -> Result<SocketTunnelSynchronousProxy, Error>
Like connect_to_socket_tunnel
, but returns a sync proxy.
See Self::connect_to_socket_tunnel
for more details.
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.
See Self::connect_to_socket_tunnel
for more details.
Trait Implementations§
Source§impl ServiceProxy for SocketTunnelServiceProxy
impl ServiceProxy for SocketTunnelServiceProxy
Source§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