pub enum StreamEnd {
Done,
Stopped,
Refused {
message: String,
error: Value,
},
Failed(String),
Dropped,
}Expand description
GAMMA-6: how a stream (Member::stream) ended — once, last.
Variants§
Done
The service ended it (done).
Stopped
The member stopped it (Streaming::stop), or left the bus: the
call closed on the wire, its unsubscribe sent.
Refused
The service refused the call: its words, and the refusal typed as it
sent it (WireItem::Refused’s value; null when the wire has none).
Failed(String)
The call failed under the transport: its words.
Dropped
The socket dropped under it (DISCONNECTED); never sent again.
Implementations§
Trait Implementations§
impl StructuralPartialEq for StreamEnd
Auto Trait Implementations§
impl Forget for StreamEnd
impl Freeze for StreamEnd
impl Move for StreamEnd
impl RefUnwindSafe for StreamEnd
impl Send for StreamEnd
impl Sync for StreamEnd
impl Unpin for StreamEnd
impl UnsafeUnpin for StreamEnd
impl UnwindSafe for StreamEnd
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.