pub struct Loader {
pub flows: Flows,
pub url_plugin: Option<RuntimeUrlPlugin>,
pub clock: Arc<HLC>,
pub nodes: HashMap<NodeID, RuntimeNode>,
}Fields§
§flows: Flows§url_plugin: Option<RuntimeUrlPlugin>§clock: Arc<HLC>§nodes: HashMap<NodeID, RuntimeNode>Implementations§
Source§impl Loader
impl Loader
pub fn new( flows: Flows, url_plugin: Option<RuntimeUrlPlugin>, clock: Arc<HLC>, ) -> Self
pub async fn load_statically_linked<T: Node + 'static>( &mut self, node: NodeID, configuration: Value, ) -> Result<()>
pub async fn load_from_url( &mut self, node: NodeID, url: Url, configuration: Value, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for Loader
impl !RefUnwindSafe for Loader
impl Send for Loader
impl !Sync for Loader
impl Unpin for Loader
impl !UnwindSafe for Loader
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