unix_management_face_from_stream

Function unix_management_face_from_stream 

Source
pub fn unix_management_face_from_stream(
    id: FaceId,
    stream: UnixStream,
    path: impl AsRef<Path>,
) -> UnixFace
Expand description

Wrap an accepted UnixStream into a management UnixFace.

Identical to unix_face_from_stream except the face is tagged FaceKind::Management, granting it operator-level implicit trust in the management handler. Use this for connections accepted on the router’s NFD management socket.