pub enum SandboxEgress {
Deny,
Allow,
AllowDomains {
domains: Vec<String>,
},
}Expand description
Outbound network policy for a sandbox.
Variants§
Deny
No outbound network access.
Routed traffic only. Link-local is not outbound and no backend’s egress control reaches it, so this is not a boundary against instance metadata.
Allow
Unrestricted outbound access to the public internet, and none to private ranges or the deployment’s own network.
Link-local carries the same exception as Deny.
AllowDomains
Outbound access only to the listed hostnames. No backend expresses this yet.
Trait Implementations§
Source§impl Clone for SandboxEgress
impl Clone for SandboxEgress
Source§fn clone(&self) -> SandboxEgress
fn clone(&self) -> SandboxEgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SandboxEgress
impl Debug for SandboxEgress
Source§impl<'de> Deserialize<'de> for SandboxEgress
impl<'de> Deserialize<'de> for SandboxEgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SandboxEgress
Source§impl PartialEq for SandboxEgress
impl PartialEq for SandboxEgress
Source§impl Serialize for SandboxEgress
impl Serialize for SandboxEgress
impl StructuralPartialEq for SandboxEgress
Auto Trait Implementations§
impl Freeze for SandboxEgress
impl RefUnwindSafe for SandboxEgress
impl Send for SandboxEgress
impl Sync for SandboxEgress
impl Unpin for SandboxEgress
impl UnsafeUnpin for SandboxEgress
impl UnwindSafe for SandboxEgress
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.