pub struct DirectEmbeddedChannelBackend;Expand description
Minimal in-process channel backend that accepts messages immediately.
Trait Implementations§
Source§impl Clone for DirectEmbeddedChannelBackend
impl Clone for DirectEmbeddedChannelBackend
Source§fn clone(&self) -> DirectEmbeddedChannelBackend
fn clone(&self) -> DirectEmbeddedChannelBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DirectEmbeddedChannelBackend
impl Debug for DirectEmbeddedChannelBackend
Source§impl Default for DirectEmbeddedChannelBackend
impl Default for DirectEmbeddedChannelBackend
Source§fn default() -> DirectEmbeddedChannelBackend
fn default() -> DirectEmbeddedChannelBackend
Returns the “default value” for a type. Read more
Source§impl EmbeddedChannelBackend for DirectEmbeddedChannelBackend
impl EmbeddedChannelBackend for DirectEmbeddedChannelBackend
Source§fn publish(
&self,
message: &dyn EmbeddedChannelMessage,
) -> Result<PressureResponse, SdkError>
fn publish( &self, message: &dyn EmbeddedChannelMessage, ) -> Result<PressureResponse, SdkError>
Publishes a typed message reference without protocol framing or wire encoding. Read more
Auto Trait Implementations§
impl Freeze for DirectEmbeddedChannelBackend
impl RefUnwindSafe for DirectEmbeddedChannelBackend
impl Send for DirectEmbeddedChannelBackend
impl Sync for DirectEmbeddedChannelBackend
impl Unpin for DirectEmbeddedChannelBackend
impl UnsafeUnpin for DirectEmbeddedChannelBackend
impl UnwindSafe for DirectEmbeddedChannelBackend
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