pub struct EnvironmentDrivers { /* private fields */ }Expand description
Graph-local environment capabilities for source/adapter boundaries.
First slice carries the existing local async/time driver. Process, network,
messaging, and resilience driver groups grow here rather than on
crate::dispatcher::Dispatcher (D131).
Implementations§
Source§impl EnvironmentDrivers
impl EnvironmentDrivers
Sourcepub fn with_local_async(self, driver: Rc<dyn LocalAsyncDriver>) -> Self
pub fn with_local_async(self, driver: Rc<dyn LocalAsyncDriver>) -> Self
Updates or reads with_local_async.
Sourcepub fn with_process(self, driver: Rc<dyn LocalProcessDriver>) -> Self
pub fn with_process(self, driver: Rc<dyn LocalProcessDriver>) -> Self
Updates or reads with_process.
Sourcepub fn with_http(self, driver: Rc<dyn LocalHttpDriver>) -> Self
pub fn with_http(self, driver: Rc<dyn LocalHttpDriver>) -> Self
Updates or reads with_http.
Sourcepub fn with_http_stream(self, driver: Rc<dyn LocalHttpStreamDriver>) -> Self
pub fn with_http_stream(self, driver: Rc<dyn LocalHttpStreamDriver>) -> Self
Updates or reads with_http_stream.
Sourcepub fn with_sse(self, driver: Rc<dyn LocalSseDriver>) -> Self
pub fn with_sse(self, driver: Rc<dyn LocalSseDriver>) -> Self
Updates or reads with_sse.
Sourcepub fn with_websocket(self, driver: Rc<dyn LocalWebSocketDriver>) -> Self
pub fn with_websocket(self, driver: Rc<dyn LocalWebSocketDriver>) -> Self
Updates or reads with_websocket.
Sourcepub fn with_webhook(self, driver: Rc<dyn LocalWebhookDriver>) -> Self
pub fn with_webhook(self, driver: Rc<dyn LocalWebhookDriver>) -> Self
Updates or reads with_webhook.
Sourcepub fn local_async_driver(&self) -> Option<Rc<dyn LocalAsyncDriver>>
pub fn local_async_driver(&self) -> Option<Rc<dyn LocalAsyncDriver>>
Updates or reads local_async_driver.
Sourcepub fn process_driver(&self) -> Option<Rc<dyn LocalProcessDriver>>
pub fn process_driver(&self) -> Option<Rc<dyn LocalProcessDriver>>
Updates or reads process_driver.
Sourcepub fn http_driver(&self) -> Option<Rc<dyn LocalHttpDriver>>
pub fn http_driver(&self) -> Option<Rc<dyn LocalHttpDriver>>
Updates or reads http_driver.
Sourcepub fn http_stream_driver(&self) -> Option<Rc<dyn LocalHttpStreamDriver>>
pub fn http_stream_driver(&self) -> Option<Rc<dyn LocalHttpStreamDriver>>
Updates or reads http_stream_driver.
Sourcepub fn sse_driver(&self) -> Option<Rc<dyn LocalSseDriver>>
pub fn sse_driver(&self) -> Option<Rc<dyn LocalSseDriver>>
Updates or reads sse_driver.
Sourcepub fn websocket_driver(&self) -> Option<Rc<dyn LocalWebSocketDriver>>
pub fn websocket_driver(&self) -> Option<Rc<dyn LocalWebSocketDriver>>
Updates or reads websocket_driver.
Sourcepub fn webhook_driver(&self) -> Option<Rc<dyn LocalWebhookDriver>>
pub fn webhook_driver(&self) -> Option<Rc<dyn LocalWebhookDriver>>
Updates or reads webhook_driver.
Trait Implementations§
Source§impl Clone for EnvironmentDrivers
impl Clone for EnvironmentDrivers
Source§fn clone(&self) -> EnvironmentDrivers
fn clone(&self) -> EnvironmentDrivers
Returns a duplicate 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 EnvironmentDrivers
impl Debug for EnvironmentDrivers
Source§impl Default for EnvironmentDrivers
impl Default for EnvironmentDrivers
Source§fn default() -> EnvironmentDrivers
fn default() -> EnvironmentDrivers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnvironmentDrivers
impl !RefUnwindSafe for EnvironmentDrivers
impl !Send for EnvironmentDrivers
impl !Sync for EnvironmentDrivers
impl Unpin for EnvironmentDrivers
impl UnsafeUnpin for EnvironmentDrivers
impl !UnwindSafe for EnvironmentDrivers
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