Skip to main content

null

Function null 

Source
pub fn null() -> Result<OpenFile, Error>
Expand description

Returns an open file that will discard all I/O.

ยงErrors

Returns an error if the platform null device cannot be opened.