Struct jormungandr::intercom::ReplyStreamHandle
source · pub struct ReplyStreamHandle<T> {
lead_sender: Sender<Result<Receiver<Result<T, Error>>, Error>>,
buffer_size: usize,
}
Fields§
§lead_sender: Sender<Result<Receiver<Result<T, Error>>, Error>>
§buffer_size: usize
Implementations§
source§impl<T> ReplyStreamHandle<T>
impl<T> ReplyStreamHandle<T>
fn reply(self, result: Result<Receiver<Result<T, Error>>, Error>)
pub fn start_sending(self) -> ReplyStreamSink<T>
pub fn reply_error(self, error: Error)
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for ReplyStreamHandle<T>
impl<T> Send for ReplyStreamHandle<T>where T: Send,
impl<T> Sync for ReplyStreamHandle<T>where T: Send,
impl<T> Unpin for ReplyStreamHandle<T>
impl<T> !UnwindSafe for ReplyStreamHandle<T>
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request