pub struct InOnlyInMemoryEndpointBuilder { /* private fields */ }Expand description
Builder for in-only (send only) in-memory endpoint.
Implementations§
Source§impl InOnlyInMemoryEndpointBuilder
impl InOnlyInMemoryEndpointBuilder
pub fn id(self, id: impl Into<String>) -> InOnlyInMemoryEndpointBuilder
pub fn source_http( self, _adapter: &Arc<()>, _method: impl Into<String>, _path: impl Into<String>, ) -> InOnlyInMemoryEndpointBuilder
pub fn source_channel<T>(
self,
channel: &Arc<T>,
) -> InOnlyInMemoryEndpointBuilderwhere
T: Channel + 'static,
pub fn build(self) -> Arc<InMemoryInOnlyEndpoint>
Auto Trait Implementations§
impl Freeze for InOnlyInMemoryEndpointBuilder
impl RefUnwindSafe for InOnlyInMemoryEndpointBuilder
impl Send for InOnlyInMemoryEndpointBuilder
impl Sync for InOnlyInMemoryEndpointBuilder
impl Unpin for InOnlyInMemoryEndpointBuilder
impl UnwindSafe for InOnlyInMemoryEndpointBuilder
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