pub struct LinuxCreateFileAcceptance { /* private fields */ }Expand description
Complete durable acceptance returned before FUSE reports create success.
Implementations§
Source§impl LinuxCreateFileAcceptance
impl LinuxCreateFileAcceptance
Sourcepub const fn new(created: LinuxCreatedFile, session: LinuxWriteSession) -> Self
pub const fn new(created: LinuxCreatedFile, session: LinuxWriteSession) -> Self
Creates an acceptance containing durable namespace, mutation, and staging state.
Sourcepub const fn created(&self) -> &LinuxCreatedFile
pub const fn created(&self) -> &LinuxCreatedFile
Returns the durable local namespace allocation.
Sourcepub const fn session(&self) -> &LinuxWriteSession
pub const fn session(&self) -> &LinuxWriteSession
Returns the empty local staging session opened by the transaction.
Sourcepub fn into_parts(self) -> (LinuxCreatedFile, LinuxWriteSession)
pub fn into_parts(self) -> (LinuxCreatedFile, LinuxWriteSession)
Consumes the acceptance into the durable record and opened staging session.
Trait Implementations§
Source§impl Clone for LinuxCreateFileAcceptance
impl Clone for LinuxCreateFileAcceptance
Source§fn clone(&self) -> LinuxCreateFileAcceptance
fn clone(&self) -> LinuxCreateFileAcceptance
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 LinuxCreateFileAcceptance
impl Debug for LinuxCreateFileAcceptance
impl Eq for LinuxCreateFileAcceptance
impl StructuralPartialEq for LinuxCreateFileAcceptance
Auto Trait Implementations§
impl Freeze for LinuxCreateFileAcceptance
impl RefUnwindSafe for LinuxCreateFileAcceptance
impl Send for LinuxCreateFileAcceptance
impl Sync for LinuxCreateFileAcceptance
impl Unpin for LinuxCreateFileAcceptance
impl UnwindSafe for LinuxCreateFileAcceptance
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