pub trait Directory {
// Required method
fn open(
&self,
path: &str,
flags: Flags,
server_end: Channel,
) -> Result<(), Error>;
}
Expand description
A trait for opening filesystem nodes.
pub trait Directory {
// Required method
fn open(
&self,
path: &str,
flags: Flags,
server_end: Channel,
) -> Result<(), Error>;
}
A trait for opening filesystem nodes.