pub struct ContainerProviderBuilder { /* private fields */ }Implementations§
Source§impl ContainerProviderBuilder
impl ContainerProviderBuilder
pub fn new() -> Self
pub fn image(self, image: impl Into<String>) -> Self
pub fn boot_timeout(self, timeout: Duration) -> Self
pub fn pull_policy(self, policy: PullPolicy) -> Self
pub fn instance_id(self, id: impl Into<String>) -> Self
Sourcepub fn egress_allowlist(self, entries: Vec<String>) -> Self
pub fn egress_allowlist(self, entries: Vec<String>) -> Self
Set the Deno runner’s outbound-network allowlist (host[:port]
entries). Empty (the default) keeps deny-all egress.
Entries are validated at build() time — fail-closed: a malformed
entry is an error, never a silently widened permission.
pub fn build(self) -> Result<ContainerProvider, ProviderError>
Trait Implementations§
Source§impl Clone for ContainerProviderBuilder
impl Clone for ContainerProviderBuilder
Source§impl Debug for ContainerProviderBuilder
impl Debug for ContainerProviderBuilder
Auto Trait Implementations§
impl Freeze for ContainerProviderBuilder
impl RefUnwindSafe for ContainerProviderBuilder
impl Send for ContainerProviderBuilder
impl Sync for ContainerProviderBuilder
impl Unpin for ContainerProviderBuilder
impl UnsafeUnpin for ContainerProviderBuilder
impl UnwindSafe for ContainerProviderBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more