Trait elfo::SourceHandle
source · pub trait SourceHandle: Sealed {
// Required methods
fn is_terminated(&self) -> bool;
fn terminate(self);
}
Expand description
Defines common methods for sources.
Required Methods§
sourcefn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns true
if the source has stopped producing messages.