Weave documentation
Rust referencezer0-secret-stream

zer0-secret-stream · bridge

Source declarations, signatures and documentation for bridge.

Source: sigil/weave/network/zer0-secret-stream/src/bridge.rs. SHA-256: 0f43bc88e7e5b037894076dc519ed49c00bea9845c3b679575cc4336a9688fb9.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

bridge::Bridge

A bridge creates two connected streams that pipe data between each other

#[pin_project]
pub struct Bridge {

}

Source line: 12.

bridge::BridgeReverse

The reverse side of a bridge

#[pin_project]
pub struct BridgeReverse {

}

Source line: 25.

bridge::Bridge::new

Create a new bridge pair

pub fn new() -> (Bridge, BridgeReverse);

Source line: 38.

On this page