pub struct DockerDeployExternal { /* private fields */ }Available on crate features
deploy and docker_deploy only.Expand description
Represents an external process, outside the control of this deployment but still with some communication into this deployment.
Trait Implementations§
Source§impl Clone for DockerDeployExternal
impl Clone for DockerDeployExternal
Source§fn clone(&self) -> DockerDeployExternal
fn clone(&self) -> DockerDeployExternal
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DockerDeployExternal
impl Debug for DockerDeployExternal
Source§impl Node for DockerDeployExternal
impl Node for DockerDeployExternal
Source§type InstantiateEnv = DockerDeploy
type InstantiateEnv = DockerDeploy
Available on crate feature
build only.Source§fn update_meta(&self, _meta: &Self::Meta)
fn update_meta(&self, _meta: &Self::Meta)
Available on crate feature
build only.Source§fn instantiate(
&self,
_env: &mut Self::InstantiateEnv,
meta: &mut Self::Meta,
graph: DfirGraph,
extra_stmts: Vec<Stmt>,
)
fn instantiate( &self, _env: &mut Self::InstantiateEnv, meta: &mut Self::Meta, graph: DfirGraph, extra_stmts: Vec<Stmt>, )
Available on crate feature
build only.Source§impl<'a> RegisterPort<'a, DockerDeploy> for DockerDeployExternal
impl<'a> RegisterPort<'a, DockerDeploy> for DockerDeployExternal
Source§fn register(&self, key: usize, port: <DockerDeploy as Deploy<'_>>::Port)
fn register(&self, key: usize, port: <DockerDeploy as Deploy<'_>>::Port)
Available on crate feature
build only.Source§fn raw_port(&self, key: usize) -> <DockerDeploy as Deploy<'a>>::ExternalRawPort
fn raw_port(&self, key: usize) -> <DockerDeploy as Deploy<'a>>::ExternalRawPort
Available on crate feature
build only.Source§fn as_bytes_bidi(
&self,
key: usize,
) -> impl Future<Output = (Pin<Box<dyn Stream<Item = Result<BytesMut, Error>>>>, Pin<Box<dyn Sink<Bytes, Error = Error>>>)> + 'a
fn as_bytes_bidi( &self, key: usize, ) -> impl Future<Output = (Pin<Box<dyn Stream<Item = Result<BytesMut, Error>>>>, Pin<Box<dyn Sink<Bytes, Error = Error>>>)> + 'a
Available on crate feature
build only.Source§fn as_bincode_bidi<InT, OutT>(
&self,
key: usize,
) -> impl Future<Output = (Pin<Box<dyn Stream<Item = OutT>>>, Pin<Box<dyn Sink<InT, Error = Error>>>)> + 'awhere
InT: Serialize + 'static,
OutT: DeserializeOwned + 'static,
fn as_bincode_bidi<InT, OutT>(
&self,
key: usize,
) -> impl Future<Output = (Pin<Box<dyn Stream<Item = OutT>>>, Pin<Box<dyn Sink<InT, Error = Error>>>)> + 'awhere
InT: Serialize + 'static,
OutT: DeserializeOwned + 'static,
Available on crate feature
build only.Source§fn as_bincode_sink<T>(
&self,
key: usize,
) -> impl Future<Output = Pin<Box<dyn Sink<T, Error = Error>>>> + 'awhere
T: Serialize + 'static,
fn as_bincode_sink<T>(
&self,
key: usize,
) -> impl Future<Output = Pin<Box<dyn Sink<T, Error = Error>>>> + 'awhere
T: Serialize + 'static,
Available on crate feature
build only.Source§fn as_bincode_source<T>(
&self,
key: usize,
) -> impl Future<Output = Pin<Box<dyn Stream<Item = T>>>> + 'awhere
T: DeserializeOwned + 'static,
fn as_bincode_source<T>(
&self,
key: usize,
) -> impl Future<Output = Pin<Box<dyn Stream<Item = T>>>> + 'awhere
T: DeserializeOwned + 'static,
Available on crate feature
build only.Auto Trait Implementations§
impl Freeze for DockerDeployExternal
impl !RefUnwindSafe for DockerDeployExternal
impl !Send for DockerDeployExternal
impl !Sync for DockerDeployExternal
impl Unpin for DockerDeployExternal
impl !UnwindSafe for DockerDeployExternal
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬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>
§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 more§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].