pub struct LinuxRemoveRequest { /* private fields */ }Expand description
Native facts for one unlink or rmdir transaction.
Implementations§
Source§impl LinuxRemoveRequest
impl LinuxRemoveRequest
Sourcepub fn new(
key: CloudItemKey,
inode_generation: LinuxInodeGeneration,
parent_key: CloudItemKey,
name: impl Into<String>,
kind: LinuxNodeKind,
session_generation: SessionGeneration,
) -> Result<Self>
pub fn new( key: CloudItemKey, inode_generation: LinuxInodeGeneration, parent_key: CloudItemKey, name: impl Into<String>, kind: LinuxNodeKind, session_generation: SessionGeneration, ) -> Result<Self>
§Errors
Returns an error when validation fails or an underlying backend, store, or platform operation fails.
pub const fn key(&self) -> &CloudItemKey
pub const fn inode_generation(&self) -> LinuxInodeGeneration
pub const fn parent_key(&self) -> &CloudItemKey
pub fn name(&self) -> &str
pub const fn kind(&self) -> LinuxNodeKind
pub const fn session_generation(&self) -> SessionGeneration
Trait Implementations§
Source§impl Clone for LinuxRemoveRequest
impl Clone for LinuxRemoveRequest
Source§fn clone(&self) -> LinuxRemoveRequest
fn clone(&self) -> LinuxRemoveRequest
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 LinuxRemoveRequest
impl Debug for LinuxRemoveRequest
Source§impl PartialEq for LinuxRemoveRequest
impl PartialEq for LinuxRemoveRequest
impl Eq for LinuxRemoveRequest
impl StructuralPartialEq for LinuxRemoveRequest
Auto Trait Implementations§
impl Freeze for LinuxRemoveRequest
impl RefUnwindSafe for LinuxRemoveRequest
impl Send for LinuxRemoveRequest
impl Sync for LinuxRemoveRequest
impl Unpin for LinuxRemoveRequest
impl UnwindSafe for LinuxRemoveRequest
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