pub struct InOutQueueEndpointBuilder { /* private fields */ }Expand description
Builder for in-out (send + receive) in-memory endpoint.
Implementations§
Source§impl InOutQueueEndpointBuilder
impl InOutQueueEndpointBuilder
pub fn id(self, id: impl Into<String>) -> Self
pub fn channel(self, ch: ChannelRef) -> Self
Sourcepub fn source(self, src: EndpointSource) -> Self
pub fn source(self, src: EndpointSource) -> Self
Directly set a source metadata descriptor.
pub fn source_http( self, _adapter: &Arc<()>, _method: impl Into<String>, _path: impl Into<String>, ) -> Self
pub fn source_channel<T: Channel + 'static>(self, channel: &Arc<T>) -> Self
pub fn build(self) -> Arc<InMemoryEndpoint> ⓘ
Auto Trait Implementations§
impl Freeze for InOutQueueEndpointBuilder
impl !RefUnwindSafe for InOutQueueEndpointBuilder
impl Send for InOutQueueEndpointBuilder
impl Sync for InOutQueueEndpointBuilder
impl Unpin for InOutQueueEndpointBuilder
impl UnsafeUnpin for InOutQueueEndpointBuilder
impl !UnwindSafe for InOutQueueEndpointBuilder
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