pub fn open_file_write_nonblock(path: &Path) -> Result<File, Error>Expand description
Create and open a File for writing to it.
In case we open a FIFO, in order to not block the instance if nobody is consuming the message
that is flushed to it, we are opening it with O_NONBLOCK flag.
In this case, writing to a pipe will start failing when reaching 64K of unconsumed content.