pub struct Fence(/* private fields */);Expand description
One listener’s or one file’s place in what no confined command may reach, until it is dropped. Held as long as what it fences: a port or a path outlives the listener or file that had it, and whatever is there next is not this process’s to fence.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Fence
impl Freeze for Fence
impl Move for Fence
impl RefUnwindSafe for Fence
impl Send for Fence
impl Sync for Fence
impl Unpin for Fence
impl UnsafeUnpin for Fence
impl UnwindSafe for Fence
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