pub enum GVisorPlatform {
Systrap,
Kvm,
Ptrace,
}Expand description
Platform backend for gVisor’s Sentry.
Variants§
Systrap
systrap backend, the current default and most broadly compatible option.
Kvm
KVM-backed sandboxing for the Sentry itself.
Ptrace
ptrace backend for maximal compatibility where systrap/KVM are unavailable.
Implementations§
Trait Implementations§
Source§impl Clone for GVisorPlatform
impl Clone for GVisorPlatform
Source§fn clone(&self) -> GVisorPlatform
fn clone(&self) -> GVisorPlatform
Returns a duplicate of the value. Read more
1.0.0 · 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 GVisorPlatform
impl Debug for GVisorPlatform
Source§impl Default for GVisorPlatform
impl Default for GVisorPlatform
Source§fn default() -> GVisorPlatform
fn default() -> GVisorPlatform
Returns the “default value” for a type. Read more
Source§impl PartialEq for GVisorPlatform
impl PartialEq for GVisorPlatform
Source§impl ValueEnum for GVisorPlatform
impl ValueEnum for GVisorPlatform
impl Copy for GVisorPlatform
impl Eq for GVisorPlatform
impl StructuralPartialEq for GVisorPlatform
Auto Trait Implementations§
impl Freeze for GVisorPlatform
impl RefUnwindSafe for GVisorPlatform
impl Send for GVisorPlatform
impl Sync for GVisorPlatform
impl Unpin for GVisorPlatform
impl UnsafeUnpin for GVisorPlatform
impl UnwindSafe for GVisorPlatform
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.