pub enum NativeStreamItem {
Message(Box<dyn Any>),
PeerHalfClosed,
Terminal(Result<(), Box<dyn Any>>),
}Expand description
Type-erased stream item crossing the Kernel/Adapter seam.
Variants§
Message(Box<dyn Any>)
One generated message value.
PeerHalfClosed
The remote side closed its sending direction.
Terminal(Result<(), Box<dyn Any>>)
The stream’s one terminal success or Domain Error outcome.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NativeStreamItem
impl !Send for NativeStreamItem
impl !Sync for NativeStreamItem
impl !UnwindSafe for NativeStreamItem
impl Freeze for NativeStreamItem
impl Unpin for NativeStreamItem
impl UnsafeUnpin for NativeStreamItem
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