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: tcflush.rs
    path of file: ./repos/remote-pty/remote-pty-master/src/handler
    
    the code of the file until where you have to start completion: use remote_pty_common::proto::slave::{PtySlaveResponse, TcFlushCall, TcFlushQueueSelector};

use crate::context::Context;

use super::common::handle_error;

// @see https://pubs.opengro
    
    fn test_tcflush_with_invalid_fd() {
        let ctx = Context::invalid_fds();
        let req = TcFlushCall {
            queue_selector: TcFlushQueueSelector::TCIFLUSH,
        };
        let ret = handle_tcflush(&ctx, req);

        match ret {
            PtySlaveResponse::Error(TcError::EBADF) => {}
            res @ _ => {
                dbg!(res);
                unreachable!()
            }
        }
    }