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>) -> Self
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<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 UnsafeUnpin 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