pub struct ReadPacket {
pub status: ReadStatus,
pub mime: Option<CompactString>,
pub data_b64: String,
pub id: Option<CompactString>,
}Expand description
One parsed 5522 read-reply packet (OSC framing already stripped).
Fields§
§status: ReadStatusPacket status.
mime: Option<CompactString>Decoded MIME type (DATA packets only).
data_b64: StringRaw base64 chunk (DATA packets only); decoded at assembly time
because chunks concatenate before decoding.
id: Option<CompactString>Echoed request id, when the terminal sent one back.
Trait Implementations§
Source§impl Clone for ReadPacket
impl Clone for ReadPacket
Source§impl Debug for ReadPacket
impl Debug for ReadPacket
impl Eq for ReadPacket
Source§impl PartialEq for ReadPacket
impl PartialEq for ReadPacket
impl StructuralPartialEq for ReadPacket
Auto Trait Implementations§
impl Forget for ReadPacket
impl Freeze for ReadPacket
impl Move for ReadPacket
impl RefUnwindSafe for ReadPacket
impl Send for ReadPacket
impl Sync for ReadPacket
impl Unpin for ReadPacket
impl UnsafeUnpin for ReadPacket
impl UnwindSafe for ReadPacket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.