pub trait StrRef { // Required method fn set(&self, val: &str); }
Sets the error message, copying the contents of val. If the error has already been set, future calls to set are ignored.
val
set