pub enum GlyphReply {
Support(GlyphSupport),
Query {
target: Option<GlyphQueryTarget>,
coverage: Option<Vec<String>>,
reason: Option<String>,
},
Register {
codepoint: char,
status: u8,
reason: Option<String>,
},
Clear {
codepoint: Option<char>,
status: u8,
reason: Option<String>,
},
}Expand description
A Glyph Protocol reply (APC 25a1; payload).
A status of 0 reports success. A nonzero status comes with a
reason, such as out_of_namespace or unsupported_format.
Variants§
Support(GlyphSupport)
Reply to REQUEST_GLYPH_SUPPORT.
Query
Reply to a coverage query.
Fields
§
target: Option<GlyphQueryTarget>The echoed subject, when the terminal parsed one.
Register
Reply to a registration.
Fields
Clear
Reply to a clear request.
Trait Implementations§
Source§impl Clone for GlyphReply
impl Clone for GlyphReply
Source§impl Debug for GlyphReply
impl Debug for GlyphReply
impl Eq for GlyphReply
Source§impl PartialEq for GlyphReply
impl PartialEq for GlyphReply
impl StructuralPartialEq for GlyphReply
Auto Trait Implementations§
impl Freeze for GlyphReply
impl RefUnwindSafe for GlyphReply
impl Send for GlyphReply
impl Sync for GlyphReply
impl Unpin for GlyphReply
impl UnsafeUnpin for GlyphReply
impl UnwindSafe for GlyphReply
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