Skip to main content

apply_socket_qos

Function apply_socket_qos 

Source
pub fn apply_socket_qos<S, Q>(socket: &S, qos: Q) -> Result<SocketQosReport>
where S: AsFd, Q: SocketQosPolicy,
Expand description

Apply typed marking policy to a borrowed socket without taking ownership.

This is suitable for sockets owned by a larger media or signaling object. The descriptor remains open and owned by its original RAII guard.