pub struct FailedStream {
pub exchange: ExchangeId,
pub account_type: AccountType,
pub symbol: String,
pub stream: Stream,
pub error: StationError,
}Expand description
Per-stream subscribe failure reported by crate::Station::subscribe.
Carries everything a consumer needs to log + skip without forcing them
to parse a Display string. error.is_not_supported() distinguishes
venue-doesn’t-expose-this-stream (architectural, quiet) from transient
failures (worth surfacing).
Fields§
§exchange: ExchangeId§account_type: AccountType§symbol: StringUser-input symbol form (NOT the normalized exchange-native form).
stream: Stream§error: StationErrorTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FailedStream
impl !UnwindSafe for FailedStream
impl Freeze for FailedStream
impl Send for FailedStream
impl Sync for FailedStream
impl Unpin for FailedStream
impl UnsafeUnpin for FailedStream
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