pub enum JsonStreamItem {
Message(Value),
PeerHalfClosed,
Terminal(Result<(), Value>),
}Expand description
One exact transport frame received from a byte-oriented guest stream.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonStreamItem
impl RefUnwindSafe for JsonStreamItem
impl Send for JsonStreamItem
impl Sync for JsonStreamItem
impl Unpin for JsonStreamItem
impl UnsafeUnpin for JsonStreamItem
impl UnwindSafe for JsonStreamItem
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