pub struct PushUnlockExport<Prev: Pusher> { /* private fields */ }Available on crate feature
nfsd only.Implementations§
Source§impl<Prev: Pusher> PushUnlockExport<Prev>
impl<Prev: Pusher> PushUnlockExport<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_path(self, value: &CStr) -> Self
pub fn push_path(self, value: &CStr) -> Self
Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
Sourcepub fn push_path_bytes(self, value: &[u8]) -> Self
pub fn push_path_bytes(self, value: &[u8]) -> Self
Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushUnlockExport<Prev>
impl<Prev: Pusher> Drop for PushUnlockExport<Prev>
Source§impl<Prev: Pusher> Pusher for PushUnlockExport<Prev>
impl<Prev: Pusher> Pusher for PushUnlockExport<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushUnlockExport<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushUnlockExport<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushUnlockExport<Prev>where
Prev: Send,
impl<Prev> Sync for PushUnlockExport<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushUnlockExport<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushUnlockExport<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushUnlockExport<Prev>where
Prev: 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