#[non_exhaustive]pub enum ClientRealtimeMessage {
Authenticate(AuthenticateMessage),
Subscribe(SubscribeMessage),
Unsubscribe(UnsubscribeMessage),
ApplyOperation(Box<ApplyOperationMessage>),
ApplyOperationBatch(Box<ApplyOperationBatchMessage>),
DebugRequest(DebugRequestMessage),
FocusInfo(FocusInfoMessage),
UserTypingComment(UserTypingCommentClientMessage),
SubscribeWorkspace(SubscribeWorkspaceMessage),
UnsubscribeWorkspace(UnsubscribeWorkspaceMessage),
}Expand description
Real-time message sent by the client over a WebSocket connection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Authenticate(AuthenticateMessage)
Authenticate this client
Subscribe(SubscribeMessage)
Subscribe to changes from a specific Notebook.
Unsubscribe(UnsubscribeMessage)
Unsubscribe to changes from a specific Notebook.
ApplyOperation(Box<ApplyOperationMessage>)
Apply an operation to a specific Notebook.
ApplyOperationBatch(Box<ApplyOperationBatchMessage>)
Apply multiple operations to a specific Notebook.
DebugRequest(DebugRequestMessage)
Request a DebugResponse from the server.
FocusInfo(FocusInfoMessage)
UserTypingComment(UserTypingCommentClientMessage)
User started typing a comment.
SubscribeWorkspace(SubscribeWorkspaceMessage)
Subscribe to workspace activities
UnsubscribeWorkspace(UnsubscribeWorkspaceMessage)
Unsubscribe from workspace activities
Implementations§
Trait Implementations§
source§impl Clone for ClientRealtimeMessage
impl Clone for ClientRealtimeMessage
source§fn clone(&self) -> ClientRealtimeMessage
fn clone(&self) -> ClientRealtimeMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ClientRealtimeMessage
impl Debug for ClientRealtimeMessage
source§impl<'de> Deserialize<'de> for ClientRealtimeMessage
impl<'de> Deserialize<'de> for ClientRealtimeMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClientRealtimeMessage
impl RefUnwindSafe for ClientRealtimeMessage
impl Send for ClientRealtimeMessage
impl Sync for ClientRealtimeMessage
impl Unpin for ClientRealtimeMessage
impl UnwindSafe for ClientRealtimeMessage
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