Function nix_compat::nix_daemon::worker_protocol::write_worker_trust_level
source · pub async fn write_worker_trust_level<W>(conn: &mut W, t: Trust) -> Result<()>
Expand description
Write the worker Trust level to the wire.
Cpp Nix has a legacy third option: u8 0. This option is meant to be used as a backward compatible measure. Since we’re not targetting protocol versions pre-dating the trust notion, we decided not to implement it here.