pub struct Loader { /* private fields */ }Implementations§
Source§impl Loader
impl Loader
Sourcepub fn load(config_blob: &[u8]) -> Result<Self>
pub fn load(config_blob: &[u8]) -> Result<Self>
config_blob is the raw struct taint_config produced by the collector.
pub fn enforce_mode(&self) -> bool
Auto Trait Implementations§
impl Freeze for Loader
impl RefUnwindSafe for Loader
impl Send for Loader
impl Sync for Loader
impl Unpin for Loader
impl UnsafeUnpin for Loader
impl UnwindSafe for Loader
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