MCPcopy Create free account
hub / github.com/bread-graphics/breadx / into_inner

Method into_inner

breadx/src/connection/std_wrapper.rs:120–122  ·  view source on GitHub ↗

Unwrap this newtype to get the underlying connection. ## Example ```rust,no_run use breadx::connection::{Connection, StdConnection}; use std::net::TcpStream; # fn main() -> Result<(), Box > { let socket = TcpStream::connect("localhost:6000")?; let connection = StdConnection::new(socket); // we need the connection back let socket = connection.into_inner(); # let _ = socket

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

connectFunction · 0.80
establish_connectFunction · 0.80
connectFunction · 0.80
establish_connectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected