Skip to main content

WorkspacePathResolver

Trait WorkspacePathResolver 

Source
pub trait WorkspacePathResolver: Send + Sync {
    // Required method
    fn normalize(&self, input: &str) -> Result<WorkspacePath>;
}
Expand description

Normalizes and validates host-supplied paths before they reach a backend.

Required Methods§

Source

fn normalize(&self, input: &str) -> Result<WorkspacePath>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§