pub struct CowState {
pub branch: Option<SeccompCowBranch>,
pub dir_cache: HashMap<(i32, u32), (String, Vec<Vec<u8>>)>,
}Expand description
Copy-on-write filesystem state.
Fields§
§branch: Option<SeccompCowBranch>Seccomp-based COW branch (None if COW disabled).
dir_cache: HashMap<(i32, u32), (String, Vec<Vec<u8>>)>Getdents cache for COW directories. Value is (host_path, entries) to detect fd reuse and invalidate stale entries.
Implementations§
Auto Trait Implementations§
impl Freeze for CowState
impl RefUnwindSafe for CowState
impl Send for CowState
impl Sync for CowState
impl Unpin for CowState
impl UnsafeUnpin for CowState
impl UnwindSafe for CowState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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