pub struct FsWrite {
pub nonce: u16,
pub sync_id: u16,
pub flags: u8,
pub base: u128,
pub mode: u32,
pub content_kind: u8,
pub path: String,
pub content: Vec<u8>,
}Expand description
A content write (C2S_FS_WRITE). base is the CAS precondition: the
current on-disk content hash to match (non-zero), zero for
create-exclusive, ignored under FS_WRITE_NO_CAS.
Fields§
§nonce: u16§sync_id: u16§flags: u8§base: u128§mode: u32§content_kind: u8§path: String§content: Vec<u8>Trait Implementations§
impl Eq for FsWrite
impl StructuralPartialEq for FsWrite
Auto Trait Implementations§
impl Freeze for FsWrite
impl RefUnwindSafe for FsWrite
impl Send for FsWrite
impl Sync for FsWrite
impl Unpin for FsWrite
impl UnsafeUnpin for FsWrite
impl UnwindSafe for FsWrite
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