pub enum ComponentImplementation {
Wasm(WasmComponentImplementation),
Composite(CompositeComponentImplementation),
Sql(SqlComponentConfig),
HttpClient(HttpClientComponentConfig),
}Expand description
A root-level wick component implementation.
Variants§
Wasm(WasmComponentImplementation)
A wasm component.
Composite(CompositeComponentImplementation)
A composite component.
Sql(SqlComponentConfig)
A sql component.
HttpClient(HttpClientComponentConfig)
An http client component.
Implementations§
source§impl ComponentImplementation
impl ComponentImplementation
sourcepub const fn kind(&self) -> ComponentKind
pub const fn kind(&self) -> ComponentKind
Get the kind of component represented by this configuration.
sourcepub fn operation_signatures(&self) -> Vec<OperationSignature>
pub fn operation_signatures(&self) -> Vec<OperationSignature>
Get the operation signatures for this component.
sourcepub fn default_name(&self) -> &'static str
pub fn default_name(&self) -> &'static str
Get the default name for this component.
Trait Implementations§
source§impl AssetManager for ComponentImplementation
impl AssetManager for ComponentImplementation
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for ComponentImplementation
impl Clone for ComponentImplementation
source§fn clone(&self) -> ComponentImplementation
fn clone(&self) -> ComponentImplementation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ComponentImplementation
impl Debug for ComponentImplementation
source§impl Default for ComponentImplementation
impl Default for ComponentImplementation
source§impl Serialize for ComponentImplementation
impl Serialize for ComponentImplementation
source§impl TryFrom<ComponentImplementation> for ComponentKind
impl TryFrom<ComponentImplementation> for ComponentKind
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<ComponentKind> for ComponentImplementation
impl TryFrom<ComponentKind> for ComponentImplementation
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !RefUnwindSafe for ComponentImplementation
impl Send for ComponentImplementation
impl Sync for ComponentImplementation
impl Unpin for ComponentImplementation
impl !UnwindSafe for ComponentImplementation
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