pub enum SessionEgress {
Proxy(EgressProxy),
Container(ContainerEgressBoundary),
}Expand description
Enforcement resource tied to one session. Both variants expose the same denial stream; the container variant additionally owns Docker resources and verifies their teardown.
Variants§
Proxy(EgressProxy)
Container(ContainerEgressBoundary)
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SessionEgress
impl !UnwindSafe for SessionEgress
impl Freeze for SessionEgress
impl Send for SessionEgress
impl Sync for SessionEgress
impl Unpin for SessionEgress
impl UnsafeUnpin for SessionEgress
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