pub struct PlatformSourceDescriptor;Expand description
Descriptor for the platform source plugin.
Trait Implementations§
Source§impl SourcePluginDescriptor for PlatformSourceDescriptor
impl SourcePluginDescriptor for PlatformSourceDescriptor
Source§fn config_version(&self) -> &str
fn config_version(&self) -> &str
The semver version of this plugin’s configuration DTO. Read more
Source§fn config_schema_name(&self) -> &str
fn config_schema_name(&self) -> &str
Returns the OpenAPI schema name for this plugin’s configuration DTO. Read more
Source§fn config_schema_json(&self) -> String
fn config_schema_json(&self) -> String
Returns all OpenAPI schemas for this plugin as a JSON-serialized map. Read more
Source§fn create_source<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
config_json: &'life2 Value,
auto_start: bool,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Source>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_source<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
config_json: &'life2 Value,
auto_start: bool,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Source>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Create a new source instance from the given configuration. Read more
Auto Trait Implementations§
impl Freeze for PlatformSourceDescriptor
impl RefUnwindSafe for PlatformSourceDescriptor
impl Send for PlatformSourceDescriptor
impl Sync for PlatformSourceDescriptor
impl Unpin for PlatformSourceDescriptor
impl UnsafeUnpin for PlatformSourceDescriptor
impl UnwindSafe for PlatformSourceDescriptor
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