pub struct LinuxRenameAcceptance { /* private fields */ }Expand description
Durable rename result, including a destination replacement tombstone when applicable.
Implementations§
Source§impl LinuxRenameAcceptance
impl LinuxRenameAcceptance
pub const fn new( item: LinuxNamespaceItem, source: LinuxNamespaceTombstone, replaced: Option<LinuxNamespaceTombstone>, ) -> Self
pub const fn item(&self) -> &LinuxNamespaceItem
pub const fn source(&self) -> &LinuxNamespaceTombstone
pub const fn replaced(&self) -> Option<&LinuxNamespaceTombstone>
pub fn into_parts( self, ) -> (LinuxNamespaceItem, LinuxNamespaceTombstone, Option<LinuxNamespaceTombstone>)
Trait Implementations§
Source§impl Clone for LinuxRenameAcceptance
impl Clone for LinuxRenameAcceptance
Source§fn clone(&self) -> LinuxRenameAcceptance
fn clone(&self) -> LinuxRenameAcceptance
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 LinuxRenameAcceptance
impl Debug for LinuxRenameAcceptance
Source§impl PartialEq for LinuxRenameAcceptance
impl PartialEq for LinuxRenameAcceptance
impl Eq for LinuxRenameAcceptance
impl StructuralPartialEq for LinuxRenameAcceptance
Auto Trait Implementations§
impl Freeze for LinuxRenameAcceptance
impl RefUnwindSafe for LinuxRenameAcceptance
impl Send for LinuxRenameAcceptance
impl Sync for LinuxRenameAcceptance
impl Unpin for LinuxRenameAcceptance
impl UnwindSafe for LinuxRenameAcceptance
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