Trait FetchPermissions
deno_fetch
pub trait FetchPermissions { pub fn check_net_url(&self, _url: &Url) -> Result<(), AnyError>; pub fn check_read(&self, _p: &PathBuf) -> Result<(), AnyError>; }
pub fn check_net_url(&self, _url: &Url) -> Result<(), AnyError>
pub fn check_read(&self, _p: &PathBuf) -> Result<(), AnyError>
impl FetchPermissions for NoFetchPermissions