[][src]Struct edit_client::client::ClientDoc

pub struct ClientDoc {
    pub doc: Doc<RtfSchema>,
    pub version: usize,
    pub client_id: String,
    pub original_doc: Doc<RtfSchema>,
    pub pending_op: Option<Op<RtfSchema>>,
    pub local_op: Op<RtfSchema>,
}

Fields

Methods

impl ClientDoc
[src]

Overwrite current state

Sync ACK'd our pending operation. Returns the next op to send to sync, if any.

Sync gave us an operation not originating from us.

When there are no payloads queued, queue a next one.

An operation was applied to the document locally.

Trait Implementations

impl Debug for ClientDoc
[src]

Auto Trait Implementations

impl Send for ClientDoc

impl Sync for ClientDoc

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Erased for T