Trait fuchsia_component::directory::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§