Trait deno_fetch::FetchPermissions

source ·
pub trait FetchPermissions {
    // Required methods
    fn check_net_url(
        &mut self,
        _url: &Url,
        api_name: &str
    ) -> Result<(), AnyError>;
    fn check_read(&mut self, _p: &Path, api_name: &str) -> Result<(), AnyError>;
}

Required Methods§

source

fn check_net_url(&mut self, _url: &Url, api_name: &str) -> Result<(), AnyError>

source

fn check_read(&mut self, _p: &Path, api_name: &str) -> Result<(), AnyError>

Implementors§