Constant linux_api::errno::errno_base::EISDIR [] [src]

pub const EISDIR: c_int = 21

That's... not a file. That's a directory