pub enum EmbeddedDeploy {}Available on crate feature
build only.Expand description
Marker type for the embedded deployment backend.
All networking methods panic — this backend only supports pure local computation.
Trait Implementations§
Source§impl<S: Into<String>> ClusterSpec<'_, EmbeddedDeploy> for S
impl<S: Into<String>> ClusterSpec<'_, EmbeddedDeploy> for S
fn build(self, _location_key: LocationKey, _name_hint: &str) -> EmbeddedNode
Source§impl<'a> Deploy<'a> for EmbeddedDeploy
impl<'a> Deploy<'a> for EmbeddedDeploy
type Meta = ()
type InstantiateEnv = ()
type Process = EmbeddedNode
type Cluster = EmbeddedNode
type External = EmbeddedNode
fn o2o_sink_source( _p1: &Self::Process, _p1_port: &(), _p2: &Self::Process, _p2_port: &(), ) -> (Expr, Expr)
fn o2o_connect( _p1: &Self::Process, _p1_port: &(), _p2: &Self::Process, _p2_port: &(), ) -> Box<dyn FnOnce()>
fn o2m_sink_source( _p1: &Self::Process, _p1_port: &(), _c2: &Self::Cluster, _c2_port: &(), ) -> (Expr, Expr)
fn o2m_connect( _p1: &Self::Process, _p1_port: &(), _c2: &Self::Cluster, _c2_port: &(), ) -> Box<dyn FnOnce()>
fn m2o_sink_source( _c1: &Self::Cluster, _c1_port: &(), _p2: &Self::Process, _p2_port: &(), ) -> (Expr, Expr)
fn m2o_connect( _c1: &Self::Cluster, _c1_port: &(), _p2: &Self::Process, _p2_port: &(), ) -> Box<dyn FnOnce()>
fn m2m_sink_source( _c1: &Self::Cluster, _c1_port: &(), _c2: &Self::Cluster, _c2_port: &(), ) -> (Expr, Expr)
fn m2m_connect( _c1: &Self::Cluster, _c1_port: &(), _c2: &Self::Cluster, _c2_port: &(), ) -> Box<dyn FnOnce()>
fn e2o_many_source( _extra_stmts: &mut Vec<Stmt>, _p2: &Self::Process, _p2_port: &(), _codec_type: &Type, _shared_handle: String, ) -> Expr
fn e2o_many_sink(_shared_handle: String) -> Expr
fn e2o_source( _extra_stmts: &mut Vec<Stmt>, _p1: &Self::External, _p1_port: &(), _p2: &Self::Process, _p2_port: &(), _codec_type: &Type, _shared_handle: String, ) -> Expr
fn e2o_connect( _p1: &Self::External, _p1_port: &(), _p2: &Self::Process, _p2_port: &(), _many: bool, _server_hint: NetworkHint, ) -> Box<dyn FnOnce()>
fn o2e_sink( _p1: &Self::Process, _p1_port: &(), _p2: &Self::External, _p2_port: &(), _shared_handle: String, ) -> Expr
fn cluster_ids( _of_cluster: LocationKey, ) -> impl QuotedWithContext<'a, &'a [TaglessMemberId], ()> + Clone + 'a
fn cluster_self_id() -> impl QuotedWithContext<'a, TaglessMemberId, ()> + Clone + 'a
fn cluster_membership_stream( _location_id: &LocationId, ) -> impl QuotedWithContext<'a, Box<dyn Stream<Item = (TaglessMemberId, MembershipEvent)> + Unpin>, ()>
Source§impl<S: Into<String>> ExternalSpec<'_, EmbeddedDeploy> for S
impl<S: Into<String>> ExternalSpec<'_, EmbeddedDeploy> for S
fn build(self, _location_key: LocationKey, _name_hint: &str) -> EmbeddedNode
Source§impl<S: Into<String>> ProcessSpec<'_, EmbeddedDeploy> for S
impl<S: Into<String>> ProcessSpec<'_, EmbeddedDeploy> for S
fn build(self, _location_key: LocationKey, _name_hint: &str) -> EmbeddedNode
Source§impl<'a> RegisterPort<'a, EmbeddedDeploy> for EmbeddedNode
impl<'a> RegisterPort<'a, EmbeddedDeploy> for EmbeddedNode
fn register(&self, _external_port_id: ExternalPortId, _port: Self::Port)
fn as_bytes_bidi( &self, _external_port_id: ExternalPortId, ) -> impl Future<Output = DynSourceSink<Result<BytesMut, Error>, Bytes, Error>> + 'a
fn as_bincode_bidi<InT, OutT>(
&self,
_external_port_id: ExternalPortId,
) -> impl Future<Output = DynSourceSink<OutT, InT, Error>> + 'awhere
InT: Serialize + 'static,
OutT: DeserializeOwned + 'static,
fn as_bincode_sink<T>(
&self,
_external_port_id: ExternalPortId,
) -> impl Future<Output = Pin<Box<dyn Sink<T, Error = Error>>>> + 'awhere
T: Serialize + 'static,
fn as_bincode_source<T>(
&self,
_external_port_id: ExternalPortId,
) -> impl Future<Output = Pin<Box<dyn Stream<Item = T>>>> + 'awhere
T: DeserializeOwned + 'static,
Auto Trait Implementations§
impl Freeze for EmbeddedDeploy
impl RefUnwindSafe for EmbeddedDeploy
impl Send for EmbeddedDeploy
impl Sync for EmbeddedDeploy
impl Unpin for EmbeddedDeploy
impl UnwindSafe for EmbeddedDeploy
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>
§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 moreCreates a shared type from an unshared type.