pub struct EditRejected {
pub request_id: u32,
pub base_version: u32,
pub current_version: u32,
pub range: CodeRange,
}Expand description
A Host edit the Renderer did not apply, because the reader had changed the same place since the version the edit was written against.
Fields§
§request_id: u32The id the application gave the edit.
base_version: u32§current_version: u32The version the document had reached when the edit arrived.
range: CodeRangeThe range exactly as it was sent.
Trait Implementations§
Source§impl Clone for EditRejected
impl Clone for EditRejected
impl Copy for EditRejected
Source§impl Debug for EditRejected
impl Debug for EditRejected
impl Eq for EditRejected
Source§impl PartialEq for EditRejected
impl PartialEq for EditRejected
impl StructuralPartialEq for EditRejected
Auto Trait Implementations§
impl Freeze for EditRejected
impl RefUnwindSafe for EditRejected
impl Send for EditRejected
impl Sync for EditRejected
impl Unpin for EditRejected
impl UnsafeUnpin for EditRejected
impl UnwindSafe for EditRejected
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