pub enum Message<I, O> {
Handshake(Arc<Callbag<O, I>>),
Data(I),
Pull,
Error(Arc<dyn Error + Send + Sync + 'static>),
Terminate,
}
Expand description
A message passed to a Callbag
.
See https://github.com/callbag/callbag/blob/9020d6f68f31034a717465dce38235df749f3353/types.d.ts#L12-L22
Variants
Handshake(Arc<Callbag<O, I>>)
Data(I)
Pull
Error(Arc<dyn Error + Send + Sync + 'static>)
Terminate
Trait Implementations
Auto Trait Implementations
impl<I, O> !RefUnwindSafe for Message<I, O>
impl<I, O> !UnwindSafe for Message<I, O>
Blanket Implementations
Mutably borrows from an owned value. Read more