Skip to main content

SharedWriter

Type Alias SharedWriter 

Source
pub type SharedWriter = Arc<Mutex<ServeStream>>;
Expand description

A connection’s shared write half — both replies and pushed notifications go through it, serialized by the Mutex (a reply and a notification can’t interleave bytes). The ServeStream enum keeps this one type across unix + vsock peers.

Aliased Type§

pub struct SharedWriter { /* private fields */ }