Method lrs::string::NoNullString::push_file

Appends a filename to the string.

Syntax

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

Arguments

NameDescription
name

The name of the file.

Remarks

This first appends a '/' and then the provided filename to the buffer.