pub struct LinuxWriteOpenRequest { /* private fields */ }Expand description
Revision-bound request to create or reopen durable local staging for an existing file.
Implementations§
Source§impl LinuxWriteOpenRequest
impl LinuxWriteOpenRequest
Sourcepub const fn new(
key: CloudItemKey,
base_revision: ContentRevision,
base_size: u64,
session_generation: SessionGeneration,
) -> Self
pub const fn new( key: CloudItemKey, base_revision: ContentRevision, base_size: u64, session_generation: SessionGeneration, ) -> Self
Creates an existing-file write request from its exact remote snapshot.
Sourcepub const fn base_revision(&self) -> &ContentRevision
pub const fn base_revision(&self) -> &ContentRevision
Returns the exact remote content revision hydrated into staging.
Sourcepub const fn session_generation(&self) -> SessionGeneration
pub const fn session_generation(&self) -> SessionGeneration
Returns the active mount session generation that owns this open.
Trait Implementations§
Source§impl Clone for LinuxWriteOpenRequest
impl Clone for LinuxWriteOpenRequest
Source§fn clone(&self) -> LinuxWriteOpenRequest
fn clone(&self) -> LinuxWriteOpenRequest
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 LinuxWriteOpenRequest
impl Debug for LinuxWriteOpenRequest
Source§impl PartialEq for LinuxWriteOpenRequest
impl PartialEq for LinuxWriteOpenRequest
impl Eq for LinuxWriteOpenRequest
impl StructuralPartialEq for LinuxWriteOpenRequest
Auto Trait Implementations§
impl Freeze for LinuxWriteOpenRequest
impl RefUnwindSafe for LinuxWriteOpenRequest
impl Send for LinuxWriteOpenRequest
impl Sync for LinuxWriteOpenRequest
impl Unpin for LinuxWriteOpenRequest
impl UnwindSafe for LinuxWriteOpenRequest
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