Struct dataflow::source::SourceToken [−][src]
pub struct SourceToken {
capabilities: Rc<RefCell<Option<(Capability<Timestamp>, Capability<Timestamp>, CapabilitySet<Timestamp>)>>>,
activator: Activator,
}
Expand description
A SourceToken
manages interest in a source.
When the SourceToken
is dropped the associated source will be stopped.
Fields
capabilities: Rc<RefCell<Option<(Capability<Timestamp>, Capability<Timestamp>, CapabilitySet<Timestamp>)>>>
activator: Activator
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SourceToken
impl !Send for SourceToken
impl !Sync for SourceToken
impl Unpin for SourceToken
impl !UnwindSafe for SourceToken
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more