You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: net_unix_pipe.rs
    path of file: ./repos/tokio/tokio/tests
    
    the code of the file until where you have to start completion: #![cfg(feature = "full")]
#![cfg(unix)]

use tokio::io::{AsyncReadExt, AsyncWriteExt, Interest
    
async fn open_detects_not_a_fifo() -> io::Result<()> {
    let dir = tempfile::Builder::new()
        .prefix("tokio-fifo-tests")
        .tempdir()
        .unwrap();
    let path = dir.path().join("not_a_fifo");

    // Create an ordinary file.
    File::create(&path)?;

    // Check if Sender detects invalid file type.
    let err = assert_err!(pipe::OpenOptions::new().open_sender(&path));
    assert_eq!(err.kind(), io::ErrorKind::InvalidInput);

    // Check if Receiver detects invalid file type.
    let err = assert_err!(pipe::OpenOptions::new().open_sender(&path));
    assert_eq!(err.kind(), io::ErrorKind::InvalidInput);

    Ok(())
}