/// Creates and routes a read-only directory capability to the given targets. The directory
/// capability will have the given name, and anyone accessing the directory will see the given
/// contents.
Creates and routes a read-only directory capability to the given targets. The directory
capability will have the given name, and anyone accessing the directory will see the given
contents.
Creates and routes a read - only directory capability to the given targets . The directory capability will have the given name and anyone accessing the directory will see the given contents .
pub async fn read_only_directory(
        &self,
        directory_name: impl Into<String>,
        to: Vec<impl Into<Ref>>,
        directory_contents: DirectoryContents,
    ) -> Result<(), Error> {
        self.root_realm.read_only_directory(directory_name, to, directory_contents).await
    }
pub async fn read_only_directory ( & self , directory_name : impl Into < String > , to : Vec < impl Into < Ref > > , directory_contents : DirectoryContents , ) -> Result < ( ) , Error > { self . root_realm . read_only_directory ( directory_name , to , directory_contents ) . await }
Creates and routes a read-only directory capability to the given targets.
Creates and routes a read - only directory capability to the given targets .
&self
directory_name
impl Into<String>
to
Vec<impl Into<Ref>>
directory_contents
DirectoryContents