pub struct SingleQuoteStream;Expand description
A stream that yields a single quote update for one symbol.
Implementations§
Source§impl SingleQuoteStream
impl SingleQuoteStream
Sourcepub fn create(
client: Arc<YahooFinanceClient>,
symbol: String,
poll_interval: Duration,
) -> Pin<Box<dyn Stream<Item = Result<SimpleQuote, YahooError>> + Send>>
pub fn create( client: Arc<YahooFinanceClient>, symbol: String, poll_interval: Duration, ) -> Pin<Box<dyn Stream<Item = Result<SimpleQuote, YahooError>> + Send>>
Create a stream for a single symbol.
Auto Trait Implementations§
impl Freeze for SingleQuoteStream
impl RefUnwindSafe for SingleQuoteStream
impl Send for SingleQuoteStream
impl Sync for SingleQuoteStream
impl Unpin for SingleQuoteStream
impl UnsafeUnpin for SingleQuoteStream
impl UnwindSafe for SingleQuoteStream
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