Crate deno_permissions

Source

Re-exports§

pub use prompter::set_prompt_callbacks;
pub use prompter::set_prompter;
pub use prompter::PermissionPrompter;
pub use prompter::PromptCallback;
pub use prompter::PromptResponse;

Modules§

prompter

Structs§

AllowRunDescriptor
ChildPermissionsArg
Directly deserializable from JS worker and test permission options.
EnvDescriptorParseError
EnvQueryDescriptor
EnvVarName
A normalized environment variable name. On Windows this will be uppercase and on other platforms it will stay as-is.
FfiDescriptor
FfiQueryDescriptor
ImportDescriptor
NetDescriptor
PathQueryDescriptor
Permissions
PermissionsContainer
Wrapper struct for Permissions that can be shared across threads.
PermissionsOptions
ReadDescriptor
ReadQueryDescriptor
SysDescriptor
UnaryPermission
UnitPermission
WriteDescriptor
WriteQueryDescriptor

Enums§

AllowRunDescriptorParseResult
CheckSpecifierKind
ChildPermissionError
ChildUnaryPermissionArg
ChildUnitPermissionArg
DenyRunDescriptor
EnvDescriptor
Host
HostParseError
NetDescriptorFromUrlParseError
NetDescriptorParseError
PathResolveError
PermissionCheckError
PermissionDeniedError
PermissionState
Quadri-state value for storing permission state
PermissionsFromOptionsError
RunDescriptorArg
RunDescriptorParseError
RunQueryDescriptor
SysDescriptorParseError

Traits§

PermissionDescriptorParser
Parses and normalizes permissions.
QueryDescriptor

Functions§

is_standalone
mark_standalone