Skip to main content

StrRef

Trait StrRef 

Source
pub trait StrRef {
    // Required method
    fn set(&self, val: &str);
}

Required Methods§

Source

fn set(&self, val: &str)

Implementations on Foreign Types§

Source§

impl StrRef for *mut *mut c_char

Source§

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.

Implementors§