pub enum Message {
Caps,
Close(BlockId),
Emit(EmitBlock),
Open(OpenBlock),
Patch(PatchBlock),
}Expand description
A single TBP message, decoded from one OSC escape.
Variants§
Caps
Query terminal capabilities. The reply travels out of band (see
crate::Caps), not as another Message.
Close(BlockId)
Close a live block.
Emit(EmitBlock)
Emit a one-shot block.
Open(OpenBlock)
Open a live block for subsequent incremental updates.
Patch(PatchBlock)
Apply an incremental update to a live block.
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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