pub struct FsOp {
pub nonce: u16,
pub sync_id: u16,
pub op: u8,
pub flags: u8,
pub base: u128,
pub mode: u32,
pub a: String,
pub b: String,
}Expand description
A metadata op (C2S_FS_OP): op selects mkdir/remove/rename; a is
the primary path, b the rename destination. base/mode are used
by only some ops (like LSP_QUERY’s line/col).
Fields§
§nonce: u16§sync_id: u16§op: u8§flags: u8§base: u128§mode: u32§a: String§b: StringTrait Implementations§
impl Eq for FsOp
impl StructuralPartialEq for FsOp
Auto Trait Implementations§
impl Freeze for FsOp
impl RefUnwindSafe for FsOp
impl Send for FsOp
impl Sync for FsOp
impl Unpin for FsOp
impl UnsafeUnpin for FsOp
impl UnwindSafe for FsOp
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