Struct near_async::actix_wrapper::SyncActixWrapper
source · pub struct SyncActixWrapper<T> { /* private fields */ }Implementations§
source§impl<T> SyncActixWrapper<T>
impl<T> SyncActixWrapper<T>
Trait Implementations§
source§impl<T> Actor for SyncActixWrapper<T>where
T: Unpin + 'static,
impl<T> Actor for SyncActixWrapper<T>where
T: Unpin + 'static,
§type Context = SyncContext<SyncActixWrapper<T>>
type Context = SyncContext<SyncActixWrapper<T>>
Actor execution context type
source§fn started(&mut self, ctx: &mut Self::Context)
fn started(&mut self, ctx: &mut Self::Context)
Called when an actor gets polled the first time.
source§impl<M, T> Handler<WithSpanContext<M>> for SyncActixWrapper<T>where
Self: Actor,
T: Handler<M>,
M: Message,
<M as Message>::Result: MessageResponse<SyncActixWrapper<T>, WithSpanContext<M>>,
impl<M, T> Handler<WithSpanContext<M>> for SyncActixWrapper<T>where
Self: Actor,
T: Handler<M>,
M: Message,
<M as Message>::Result: MessageResponse<SyncActixWrapper<T>, WithSpanContext<M>>,
Auto Trait Implementations§
impl<T> Freeze for SyncActixWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for SyncActixWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for SyncActixWrapper<T>where
T: Send,
impl<T> Sync for SyncActixWrapper<T>where
T: Sync,
impl<T> Unpin for SyncActixWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for SyncActixWrapper<T>where
T: UnwindSafe,
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
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<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<A, B> IntoMultiSender<B> for Awhere
B: MultiSenderFrom<A>,
impl<A, B> IntoMultiSender<B> for Awhere
B: MultiSenderFrom<A>,
fn as_multi_sender(self: &Arc<A>) -> B
fn into_multi_sender(self) -> B
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