[−][src]Trait edit_client::client::ClientController
Trait shared by the "wasm" and "client proxy" implementations. Most methods are implemented on this trait, not its implementors.
Required Methods
fn state(&mut self) -> RefMut<Client>
fn send_frontend(&self, req: &FrontendCommand) -> Result<(), Error>
fn send_server(&self, req: &ServerCommand) -> Result<(), Error>
Provided Methods
fn setup_controls(&mut self, caret_state: Option<CaretState>) where
Self: Sized,
Self: Sized,
fn handle_task(&mut self, value: Task) -> Result<(), Error> where
Self: Sized,
Self: Sized,
fn upload(&mut self, local_op: Op<RtfSchema>) -> Result<(), Error>
fn with_action_context<C, T>(&mut self, callback: C) -> Result<T, Error> where
C: Fn(ActionContext) -> Result<T, Error>,
C: Fn(ActionContext) -> Result<T, Error>,
fn client_op<C>(&mut self, callback: C) -> Result<(), Error> where
C: Fn(ActionContext) -> Result<Op<RtfSchema>, Error>,
Self: Sized,
C: Fn(ActionContext) -> Result<Op<RtfSchema>, Error>,
Self: Sized,
Implementors
impl ClientController for ProxyClientController
[src]
impl ClientController for ProxyClientController
fn state(&mut self) -> RefMut<Client>
[src]
fn state(&mut self) -> RefMut<Client>
fn send_frontend(&self, req: &FrontendCommand) -> Result<(), Error>
[src]
fn send_frontend(&self, req: &FrontendCommand) -> Result<(), Error>
fn send_server(&self, req: &ServerCommand) -> Result<(), Error>
[src]
fn send_server(&self, req: &ServerCommand) -> Result<(), Error>
fn setup_controls(&mut self, caret_state: Option<CaretState>) where
Self: Sized,
[src]
fn setup_controls(&mut self, caret_state: Option<CaretState>) where
Self: Sized,
fn handle_task(&mut self, value: Task) -> Result<(), Error> where
Self: Sized,
[src]
fn handle_task(&mut self, value: Task) -> Result<(), Error> where
Self: Sized,
fn upload(&mut self, local_op: Op<RtfSchema>) -> Result<(), Error>
[src]
fn upload(&mut self, local_op: Op<RtfSchema>) -> Result<(), Error>
fn with_action_context<C, T>(&mut self, callback: C) -> Result<T, Error> where
C: Fn(ActionContext) -> Result<T, Error>,
[src]
fn with_action_context<C, T>(&mut self, callback: C) -> Result<T, Error> where
C: Fn(ActionContext) -> Result<T, Error>,
fn client_op<C>(&mut self, callback: C) -> Result<(), Error> where
C: Fn(ActionContext) -> Result<Op<RtfSchema>, Error>,
Self: Sized,
[src]
fn client_op<C>(&mut self, callback: C) -> Result<(), Error> where
C: Fn(ActionContext) -> Result<Op<RtfSchema>, Error>,
Self: Sized,