pub struct NamedStream<S: StreamEffect>(/* private fields */);Implementations§
Source§impl<S: StreamEffect> NamedStream<S>
impl<S: StreamEffect> NamedStream<S>
pub fn spawn_scope_stream( in_scope: Entity, out_scope: Entity, commands: &mut Commands<'_, '_>, ) -> (InputSlot<S::Input>, Output<S::Output>)
pub fn spawn_workflow_stream( name: impl Into<Cow<'static, str>>, builder: &mut Builder<'_, '_, '_>, ) -> InputSlot<S::Input>
pub fn spawn_node_stream( name: impl Into<Cow<'static, str>>, source: Entity, map: &mut StreamTargetMap, builder: &mut Builder<'_, '_, '_>, ) -> Output<S::Output>
pub fn take_stream( name: impl Into<Cow<'static, str>>, source: Entity, map: &mut StreamTargetMap, commands: &mut Commands<'_, '_>, ) -> Receiver<S::Output>
pub fn collect_stream( name: impl Into<Cow<'static, str>>, source: Entity, target: Entity, map: &mut StreamTargetMap, commands: &mut Commands<'_, '_>, )
pub fn make_stream_channel( name: impl Into<Cow<'static, str>>, inner: &Arc<InnerChannel>, world: &World, ) -> NamedStreamChannel<S>
pub fn make_stream_buffer( target_map: Option<&StreamTargetMap>, ) -> NamedStreamBuffer<S::Input>
pub fn process_stream_buffer( name: impl Into<Cow<'static, str>>, buffer: NamedStreamBuffer<S::Input>, source: Entity, session: Entity, unused: &mut UnusedStreams, world: &mut World, roster: &mut OperationRoster, ) -> OperationResult
pub fn defer_buffer( name: impl Into<Cow<'static, str>>, buffer: NamedStreamBuffer<S::Input>, source: Entity, session: Entity, commands: &mut Commands<'_, '_>, )
Auto Trait Implementations§
impl<S> Freeze for NamedStream<S>
impl<S> RefUnwindSafe for NamedStream<S>
impl<S> Send for NamedStream<S>
impl<S> Sync for NamedStream<S>
impl<S> Unpin for NamedStream<S>
impl<S> UnsafeUnpin for NamedStream<S>
impl<S> UnwindSafe for NamedStream<S>
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> ConditionalSend for Twhere
T: Send,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request