Skip to main content

client_may_write_content

Function client_may_write_content 

Source
pub(crate) fn client_may_write_content(content_type: &str) -> Result<(), String>
Expand description

setagentcontent’s check (a client’s write): which agent a worker reports to, and which agent made another, are srv’s to write: clearing the first would let a worker spawn and free its leader’s place, and writing the second would let an agent delete one it did not make.