pub struct OnMember<C = ()> { /* private fields */ }Expand description
Hook scope marker: one selected member’s instance of an operator running on a
Cluster with tag C, produced by
.on(member_id).
Member-scoped handles script decisions like process-scoped ones, but cannot be
created or bound: operators are always bound through the unscoped OnCluster
handle.
Trait Implementations§
impl<C> ScriptableHookScope for OnMember<C>
Auto Trait Implementations§
impl<C> Freeze for OnMember<C>
impl<C> RefUnwindSafe for OnMember<C>
impl<C> Send for OnMember<C>
impl<C> Sync for OnMember<C>
impl<C> Unpin for OnMember<C>
impl<C> UnsafeUnpin for OnMember<C>
impl<C> UnwindSafe for OnMember<C>
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
§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.