Struct hydro_lang::location::external_process::ExternalProcess
source · pub struct ExternalProcess<'a, P> { /* private fields */ }
Implementations§
source§impl<'a, P> ExternalProcess<'a, P>
impl<'a, P> ExternalProcess<'a, P>
pub fn source_external_bytes<L: Location<'a> + NoTick>( &self, to: &L, ) -> (ExternalBytesPort, Stream<Bytes, L, Unbounded>)
pub fn source_external_bincode<L: Location<'a> + NoTick, T: Serialize + DeserializeOwned>( &self, to: &L, ) -> (ExternalBincodeSink<T>, Stream<T, L, Unbounded>)
Trait Implementations§
source§impl<'a, P1, E2> CanSend<'a, ExternalProcess<'a, E2>> for Process<'a, P1>
impl<'a, P1, E2> CanSend<'a, ExternalProcess<'a, E2>> for Process<'a, P1>
source§impl<P> Clone for ExternalProcess<'_, P>
impl<P> Clone for ExternalProcess<'_, P>
source§impl<'a, P> Location<'a> for ExternalProcess<'a, P>
impl<'a, P> Location<'a> for ExternalProcess<'a, P>
type Root = ExternalProcess<'a, P>
fn root(&self) -> Self::Root
fn id(&self) -> LocationId
fn flow_state(&self) -> &FlowState
fn is_top_level() -> bool
Auto Trait Implementations§
impl<'a, P> Freeze for ExternalProcess<'a, P>
impl<'a, P> !RefUnwindSafe for ExternalProcess<'a, P>
impl<'a, P> !Send for ExternalProcess<'a, P>
impl<'a, P> !Sync for ExternalProcess<'a, P>
impl<'a, P> Unpin for ExternalProcess<'a, P>where
P: Unpin,
impl<'a, P> !UnwindSafe for ExternalProcess<'a, P>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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 more