mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-25 08:34:47 +01:00
feat: derive Debug for controllers
This commit is contained in:
parent
0cce1d1ea0
commit
5f1f43e645
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ use super::TextChange;
|
||||||
/// Operation Sequences easily
|
/// Operation Sequences easily
|
||||||
///
|
///
|
||||||
/// upon dropping this handle will stop the associated worker
|
/// upon dropping this handle will stop the associated worker
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct BufferController {
|
pub struct BufferController {
|
||||||
content: watch::Receiver<String>,
|
content: watch::Receiver<String>,
|
||||||
operations: mpsc::UnboundedSender<OperationSeq>,
|
operations: mpsc::UnboundedSender<OperationSeq>,
|
||||||
|
|
|
@ -18,6 +18,7 @@ use crate::{proto::{CursorPosition, CursorEvent}, Error, Controller, errors::Ign
|
||||||
/// for each controller a worker exists, managing outgoing and inbound event queues
|
/// for each controller a worker exists, managing outgoing and inbound event queues
|
||||||
///
|
///
|
||||||
/// upon dropping this handle will stop the associated worker
|
/// upon dropping this handle will stop the associated worker
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct CursorController {
|
pub struct CursorController {
|
||||||
uid: String,
|
uid: String,
|
||||||
op: mpsc::UnboundedSender<CursorEvent>,
|
op: mpsc::UnboundedSender<CursorEvent>,
|
||||||
|
|
Loading…
Reference in a new issue