pub struct ComponentInstall {
pub meta: ComponentMeta,
pub bytecode: Vec<u8>,
pub support_modules: Vec<Vec<u8>>,
}Expand description
One component the application installs: its manifest, its compiled bytecode, and any support (e.g. FFI) modules that must be loaded before the component starts and unloaded in order at teardown.
Fields§
§meta: ComponentMetaThe component’s full manifest (identity, children, supervision, declared capability needs).
bytecode: Vec<u8>The component’s compiled BEAM bytecode.
support_modules: Vec<Vec<u8>>Compiled support modules loaded before the component starts, in the given order, and unloaded in reverse order at teardown.
Auto Trait Implementations§
impl Freeze for ComponentInstall
impl RefUnwindSafe for ComponentInstall
impl Send for ComponentInstall
impl Sync for ComponentInstall
impl Unpin for ComponentInstall
impl UnsafeUnpin for ComponentInstall
impl UnwindSafe for ComponentInstall
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> 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