pub enum HydroSource {
Stream(DebugExpr),
ExternalNetwork(),
Iter(DebugExpr),
Spin(),
ClusterMembers(LocationId, ClusterMembersState),
Embedded(Ident),
EmbeddedSingleton(Ident),
}Expand description
A source in a Hydro graph, where data enters the graph.
Variants§
Stream(DebugExpr)
ExternalNetwork()
Iter(DebugExpr)
Spin()
ClusterMembers(LocationId, ClusterMembersState)
Embedded(Ident)
EmbeddedSingleton(Ident)
Trait Implementations§
Auto Trait Implementations§
impl !Send for HydroSource
impl !Sync for HydroSource
impl Forget for HydroSource
impl Freeze for HydroSourcewhere
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
NonZero<u32>: Freeze,
*const LocationId is !null: Freeze,
PhantomData<LocationId>: Freeze,
*const str is !null: Freeze,
PhantomData<str>: Freeze,
PhantomData<Rc<()>>: Freeze,
impl Move for HydroSource
impl RefUnwindSafe for HydroSourcewhere
NonZero<u32>: RefUnwindSafe,
ProcMacroAutoTraits: RefUnwindSafe,
RcVec<TokenTree>: RefUnwindSafe,
impl Unpin for HydroSource
impl UnsafeUnpin for HydroSourcewhere
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*const LocationId is !null: UnsafeUnpin,
PhantomData<LocationId>: UnsafeUnpin,
*const str is !null: UnsafeUnpin,
PhantomData<str>: UnsafeUnpin,
PhantomData<Rc<()>>: UnsafeUnpin,
impl UnwindSafe for HydroSourcewhere
BoxRaw<Expr>: UnwindSafe,
NonZero<u32>: UnwindSafe,
BoxRaw<LocationId>: UnwindSafe,
BoxRaw<str>: UnwindSafe,
ProcMacroAutoTraits: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreCreates a shared type from an unshared type.