Method lrs::string::NoNullString::set_path

Clears the string and sets it to a new value.

Syntax

impl<H> NoNullString<H>
    where H: Allocator,
{
    fn set_path<F>(&mut self, path: F) -> Result<(), Errno>
        where F: AsNoNullStr,
}

Arguments

NameDescription
path

The new contents of the string.