struct Dispatcher<S: Types> {
    handle_store: HandleStore<S>,
    server: S,
}
🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Fields§

§handle_store: HandleStore<S>
🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
§server: S
🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Trait Implementations§

source§

impl<S: Server> DispatcherTrait for Dispatcher<MarkedTypes<S>>

§

type FreeFunctions = <MarkedTypes<S> as Types>::FreeFunctions

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
§

type TokenStream = <MarkedTypes<S> as Types>::TokenStream

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
§

type SourceFile = <MarkedTypes<S> as Types>::SourceFile

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
§

type Span = <MarkedTypes<S> as Types>::Span

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
§

type Symbol = <MarkedTypes<S> as Types>::Symbol

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn dispatch(&mut self, buf: Buffer) -> Buffer

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Auto Trait Implementations§

§

impl<S> RefUnwindSafe for Dispatcher<S>where S: RefUnwindSafe, <S as Types>::FreeFunctions: RefUnwindSafe, <S as Types>::SourceFile: RefUnwindSafe, <S as Types>::Span: RefUnwindSafe, <S as Types>::TokenStream: RefUnwindSafe,

§

impl<S> Send for Dispatcher<S>where S: Send, <S as Types>::FreeFunctions: Send, <S as Types>::SourceFile: Send, <S as Types>::Span: Send, <S as Types>::TokenStream: Send,

§

impl<S> Sync for Dispatcher<S>where S: Sync, <S as Types>::FreeFunctions: Sync, <S as Types>::SourceFile: Sync, <S as Types>::Span: Sync, <S as Types>::TokenStream: Sync,

§

impl<S> Unpin for Dispatcher<S>where S: Unpin, <S as Types>::Span: Unpin,

§

impl<S> UnwindSafe for Dispatcher<S>where S: UnwindSafe, <S as Types>::FreeFunctions: RefUnwindSafe, <S as Types>::SourceFile: RefUnwindSafe, <S as Types>::Span: UnwindSafe + RefUnwindSafe, <S as Types>::TokenStream: RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.