struct ChannelState {
pending: String,
inside: bool,
body: String,
}Expand description
Per-channel scanning state. The text and reasoning channels each own one of these; they never share buffers.
Fields§
§pending: StringTrailing bytes whose status (markup vs payload) is not yet decided.
inside: booltrue between an open and close marker.
body: StringJSON body accumulated while inside is true.
Trait Implementations§
Source§impl Debug for ChannelState
impl Debug for ChannelState
Source§impl Default for ChannelState
impl Default for ChannelState
Source§fn default() -> ChannelState
fn default() -> ChannelState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChannelState
impl RefUnwindSafe for ChannelState
impl Send for ChannelState
impl Sync for ChannelState
impl Unpin for ChannelState
impl UnwindSafe for ChannelState
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