Creates a file on which every operation fails.
impl File {
fn invalid() -> File
}Returns an invalid file.
This is equivalent to calling File::from_borrowed(-1). This can be useful when a function which always returns a File or an object containing a File has to signal an error condition.