[−][src]Function safe_app::nfs::file_helper::write
pub fn write<C>(
client: C,
file: File,
mode: Mode,
encryption_key: Option<Key>
) -> Box<dyn Future<Error = NfsError, Item = Writer<C>> + 'static> where
C: Client,
Helper function to update content of a file in a directory. A Writer
object is returned, through which the data for the file can be written to
the network. The file is actually saved in the directory listing only after
writer.close()
is invoked.