pub struct ChannelSource { /* private fields */ }Available on crate feature
data only.Expand description
A source whose current dataset can be replaced by a channel message.
The sender lives on a worker thread; ChannelSource::poll uses try_recv, so the
UI never blocks waiting for the next snapshot.
§Example
use crisol_core::data::ChannelSource;Implementations§
Source§impl ChannelSource
impl ChannelSource
Trait Implementations§
Source§impl DataSource for ChannelSource
impl DataSource for ChannelSource
Auto Trait Implementations§
impl !Sync for ChannelSource
impl Forget for ChannelSource
impl Freeze for ChannelSourcewhere
*const u8 is !null: Freeze,
PhantomData<ColumnSchema>: Freeze,
PhantomData<Column>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<LineageStep>: Freeze,
*mut Counter<Channel<Dataset>>: Freeze,
*mut Counter<Channel<Dataset>>: Freeze,
*mut Counter<Channel<Dataset>>: Freeze,
impl Move for ChannelSource
impl RefUnwindSafe for ChannelSource
impl Send for ChannelSource
impl Unpin for ChannelSourcewhere
*const u8 is !null: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
Arc<[f64]>: Unpin,
Arc<[i64]>: Unpin,
Arc<[bool]>: Unpin,
Arc<[String]>: Unpin,
*mut Counter<Channel<Dataset>>: Unpin,
*mut Counter<Channel<Dataset>>: Unpin,
*mut Counter<Channel<Dataset>>: Unpin,
impl UnsafeUnpin for ChannelSourcewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ColumnSchema>: UnsafeUnpin,
PhantomData<Column>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<LineageStep>: UnsafeUnpin,
*mut Counter<Channel<Dataset>>: UnsafeUnpin,
*mut Counter<Channel<Dataset>>: UnsafeUnpin,
*mut Counter<Channel<Dataset>>: UnsafeUnpin,
impl UnwindSafe for ChannelSourcewhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[i64]>: UnwindSafe,
Arc<[bool]>: UnwindSafe,
Arc<[String]>: UnwindSafe,
Receiver<Dataset>: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more