pub struct ClusterIds<'a> {
pub key: LocationKey,
pub _phantom: PhantomData<&'a ()>,
}Expand description
A free variable that resolves to the list of member IDs in a cluster at runtime.
When spliced into a quoted snippet, this provides access to the set of
TaglessMemberIds that belong to the cluster.
Fields§
§key: LocationKeyThe location key identifying which cluster this refers to.
_phantom: PhantomData<&'a ()>Phantom data binding the lifetime.
Trait Implementations§
Source§impl<'a> Clone for ClusterIds<'a>
impl<'a> Clone for ClusterIds<'a>
Source§impl<'a, Ctx> FreeVariableWithContextWithProps<Ctx, ()> for ClusterIds<'a>
impl<'a, Ctx> FreeVariableWithContextWithProps<Ctx, ()> for ClusterIds<'a>
Source§impl<'a, Ctx> QuotedWithContextWithProps<'a, &'a [TaglessMemberId], Ctx, ()> for ClusterIds<'a>
impl<'a, Ctx> QuotedWithContextWithProps<'a, &'a [TaglessMemberId], Ctx, ()> for ClusterIds<'a>
fn splice_untyped_ctx_props(self, ctx: &Ctx) -> (Expr, Props)where
Self: Sized,
fn splice_typed_ctx_props(self, ctx: &Ctx) -> (Expr, Props)where
Self: Sized,
fn splice_fn1_ctx_props<I, O>(self, ctx: &Ctx) -> (Expr, Props)
fn splice_fn1_borrow_ctx_props<I, O>(self, ctx: &Ctx) -> (Expr, Props)
fn splice_fn2_ctx_props<I1, I2, O>(self, ctx: &Ctx) -> (Expr, Props)
fn splice_fn2_borrow_ctx_props<I1, I2, O>(self, ctx: &Ctx) -> (Expr, Props)
fn splice_fn2_borrow_mut_ctx_props<I1, I2, O>(self, ctx: &Ctx) -> (Expr, Props)
Auto Trait Implementations§
impl<'a> Freeze for ClusterIds<'a>
impl<'a> RefUnwindSafe for ClusterIds<'a>
impl<'a> Send for ClusterIds<'a>
impl<'a> Sync for ClusterIds<'a>
impl<'a> Unpin for ClusterIds<'a>
impl<'a> UnsafeUnpin for ClusterIds<'a>
impl<'a> UnwindSafe for ClusterIds<'a>
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<O, T> FreeVariable<O> for Twhere
T: FreeVariableWithContext<(), O = O>,
impl<O, T> FreeVariable<O> for Twhere
T: FreeVariableWithContext<(), O = O>,
fn to_tokens(self) -> QuoteTokenswhere
Self: Sized,
fn uninitialized(&self) -> O
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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.
§impl<'a, T, Ctx, F> QuotedWithContext<'a, T, Ctx> for Fwhere
F: QuotedWithContextWithProps<'a, T, Ctx, ()>,
impl<'a, T, Ctx, F> QuotedWithContext<'a, T, Ctx> for Fwhere
F: QuotedWithContextWithProps<'a, T, Ctx, ()>,
fn splice_untyped_ctx(self, ctx: &Ctx) -> Exprwhere
Self: Sized,
fn splice_typed_ctx(self, ctx: &Ctx) -> Exprwhere
Self: Sized,
fn splice_fn0_ctx<O>(self, ctx: &Ctx) -> Expr
fn splice_fn1_ctx<I, O>(self, ctx: &Ctx) -> Expr
fn splice_fn1_borrow_ctx<I, O>(self, ctx: &Ctx) -> Expr
fn splice_fn2_ctx<I1, I2, O>(self, ctx: &Ctx) -> Expr
fn splice_fn2_borrow_ctx<I1, I2, O>(self, ctx: &Ctx) -> Expr
fn splice_fn2_borrow_mut_ctx<I1, I2, O>(self, ctx: &Ctx) -> Expr
fn splice_untyped(self) -> Expr
fn splice_typed(self) -> Expr
fn splice_fn0<O>(self) -> Expr
fn splice_fn1<I, O>(self) -> Expr
fn splice_fn1_borrow<I, O>(self) -> Expr
fn splice_fn2_borrow_mut<I1, I2, O>(self) -> Expr
§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].