Weave documentation
Rust referenceweave-swarm

weave-swarm · runtime::backend

Source declarations, signatures and documentation for runtime::backend.

Source: sigil/weave/network/weave-swarm/src/runtime/backend.rs. SHA-256: 41726e1cf5722817701afaac33789dae475d0c6d10530472b4b61e92ceeb448d.

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.

runtime::backend::ConnectionId

Runtime-assigned identifier for a transport connection.

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct ConnectionId(pub u64);

Source line: 15.

runtime::backend::StreamId

Runtime-assigned identifier for an application substream.

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct StreamId(pub u64);

Source line: 19.

runtime::backend::DialAttemptId

Unique identity of one outbound dial attempt.

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct DialAttemptId(u64);

Source line: 23.

runtime::backend::DialAttemptId::get

pub fn get(self) -> u64;

Source line: 26.

runtime::backend::CloseId

Unique identity of one actor-requested stream close/reset.

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct CloseId(u64);

Source line: 37.

runtime::backend::CloseId::get

pub fn get(self) -> u64;

Source line: 40.

runtime::backend::BackendCloseDisposition

Successful physical disposition acknowledged by the backend.

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum BackendCloseDisposition {
    Closed,
    Reset,
}

Source line: 51.

runtime::backend::sealed::Sealed

pub trait Sealed {}

Source line: 205.

On this page