fuchsia_component::directory

Trait Directory

Source
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.

Required Methods§

Source

fn open( &self, path: &str, flags: Flags, server_end: Channel, ) -> Result<(), Error>

Open a node relative to the directory.

Implementations on Foreign Types§

Source§

impl Directory for ClientEnd<DirectoryMarker>

Source§

fn open( &self, path: &str, flags: Flags, server_end: Channel, ) -> Result<(), Error>

Source§

impl Directory for DirectoryProxy

Source§

fn open( &self, path: &str, flags: Flags, server_end: Channel, ) -> Result<(), Error>

Source§

impl Directory for DirectorySynchronousProxy

Source§

fn open( &self, path: &str, flags: Flags, server_end: Channel, ) -> Result<(), Error>

Implementors§