pub struct External<'a, Tag> { /* private fields */ }Expand description
A handle representing an external process that can communicate with the Hydro dataflow.
External processes live outside the compiled dataflow graph and interact with it by
sending and receiving data through ports. Use methods on Location
such as source_external_bytes,
source_external_bincode, and
bind_single_client to establish communication
channels between a location and an external process.
The Tag type parameter is a user-defined marker type that distinguishes different
external process roles at the type level.
Trait Implementations§
Auto Trait Implementations§
impl<'a, Tag> Freeze for External<'a, Tag>
impl<'a, Tag> !RefUnwindSafe for External<'a, Tag>
impl<'a, Tag> !Send for External<'a, Tag>
impl<'a, Tag> !Sync for External<'a, Tag>
impl<'a, Tag> Unpin for External<'a, Tag>where
Tag: Unpin,
impl<'a, Tag> UnsafeUnpin for External<'a, Tag>
impl<'a, Tag> !UnwindSafe for External<'a, Tag>
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> ⓘ
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.