pub struct HostCallLimits {
pub rules: Vec<PermissionRule>,
pub cut_network: bool,
}Expand description
What the host holds one call and every call it makes to, over the session’s rules and sandbox: they only tighten.
Fields§
§rules: Vec<PermissionRule>Held after the session’s or the scene’s rules.
cut_network: boolNo sandboxed command reaches the network; a command the sandbox cannot hold to that is refused, not run.
Trait Implementations§
Source§impl Clone for HostCallLimits
impl Clone for HostCallLimits
Source§impl Debug for HostCallLimits
impl Debug for HostCallLimits
Source§impl Default for HostCallLimits
impl Default for HostCallLimits
Source§impl PartialEq for HostCallLimits
impl PartialEq for HostCallLimits
impl StructuralPartialEq for HostCallLimits
Auto Trait Implementations§
impl Forget for HostCallLimits
impl Freeze for HostCallLimits
impl Move for HostCallLimits
impl RefUnwindSafe for HostCallLimits
impl Send for HostCallLimitswhere
RawVecInner: Send,
impl Sync for HostCallLimitswhere
RawVecInner: Sync,
impl Unpin for HostCallLimits
impl UnsafeUnpin for HostCallLimits
impl UnwindSafe for HostCallLimitswhere
RawVecInner: UnwindSafe,
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