Skip to main content

check_subject

Function check_subject 

Source
pub fn check_subject(subject: &str) -> Result<()>
Expand description

Refuses a subject that would break the header.

Composition::build runs it too; it is public so a caller can refuse a bad subject before it makes any request.