/// Constructs an inspect tree enumerating all local stream endpoints with encoding and
/// capability properties. The values in this tree are static and represent `Streams` inspect
/// data at the point in time when `Streams` was built.
///
/// This function should be called by `Streams::build` as part of construction.
Constructs an inspect tree enumerating all local stream endpoints with encoding and
capability properties. The values in this tree are static and represent `Streams` inspect
data at the point in time when `Streams` was built.

This function should be called by `Streams::build` as part of construction.
Constructs an inspect tree enumerating all local stream endpoints with encoding and capability properties . The values in this tree are static and represent ` Streams ` inspect data at the point in time when ` Streams ` was built . This function should be called by ` Streams :: build ` as part of construction .
fn construct_inspect_data(&self, inspect: &mut ManagedNode) {
        let mut writer = inspect.writer();
        for stream in self.0.values() {
            let id = stream.endpoint.local_id();
            let capabilities = stream.endpoint.capabilities();
            let mut writer = writer.create_child(inspect::unique_name("stream_"));
            writer.create_string("stream_endpoint_id", id.to_string());
            writer.create_string("encoding", stream.encoding().unwrap_or("Unknown"));
            writer.create_string("capabilities", capabilities.debug());
        }
    }
fn construct_inspect_data ( & self , inspect : & mut ManagedNode ) { let mut writer = inspect . writer ( ) ; for stream in self . 0 . values ( ) { let id = stream . endpoint . local_id ( ) ; let capabilities = stream . endpoint . capabilities ( ) ; let mut writer = writer . create_child ( inspect :: unique_name ( " " ) ) ; writer . create_string ( " " , id . to_string ( ) ) ; writer . create_string ( " " , stream . encoding ( ) . unwrap_or ( " " ) ) ; writer . create_string ( " " , capabilities . debug ( ) ) ; } }
Constructs an inspect tree enumerating all local stream endpoints with encoding and
capability properties.
Constructs an inspect tree enumerating all local stream endpoints with encoding and capability properties .
&self
inspect
&mut ManagedNode