pub struct ObservationStream { /* private fields */ }Expand description
One application-defined scientific observation stream.
Implementations§
Source§impl ObservationStream
impl ObservationStream
Sourcepub fn all_fields(name: impl Into<String>) -> Result<Self, ObservationError>
pub fn all_fields(name: impl Into<String>) -> Result<Self, ObservationError>
Defines a named stream containing every field in its bound state schema.
Sourcepub fn fields<I, S>(
name: impl Into<String>,
fields: I,
) -> Result<Self, ObservationError>
pub fn fields<I, S>( name: impl Into<String>, fields: I, ) -> Result<Self, ObservationError>
Defines a named stream containing the selected state fields.
Sourcepub fn every_iterations(self, iterations: u64) -> Result<Self, ObservationError>
pub fn every_iterations(self, iterations: u64) -> Result<Self, ObservationError>
Changes this stream’s cadence from every iteration to every iterations.
Trait Implementations§
Source§impl Clone for ObservationStream
impl Clone for ObservationStream
Source§fn clone(&self) -> ObservationStream
fn clone(&self) -> ObservationStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObservationStream
impl Debug for ObservationStream
impl Eq for ObservationStream
Source§impl PartialEq for ObservationStream
impl PartialEq for ObservationStream
impl StructuralPartialEq for ObservationStream
Auto Trait Implementations§
impl Freeze for ObservationStream
impl RefUnwindSafe for ObservationStream
impl Send for ObservationStream
impl Sync for ObservationStream
impl Unpin for ObservationStream
impl UnsafeUnpin for ObservationStream
impl UnwindSafe for ObservationStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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