Skip to main content

ExternalLinkResolver

Trait ExternalLinkResolver 

Source
pub trait ExternalLinkResolver: Send + Sync {
    // Required method
    fn resolve_external_link(&self, filename: &str) -> Result<Option<Hdf5File>>;
}
Expand description

Resolves HDF5 external links to another opened file.

Implementations are responsible for their own path security policy. The built-in FilesystemExternalLinkResolver confines normal paths to a base directory and, on Unix, opens paths through an anchored directory handle without following symlinks. On non-Unix platforms it falls back to canonicalize-then-open, so attacker-writable resolver roots are out of scope there.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§