[−][src]Struct parsec_service::back::dispatcher::DispatcherBuilder
Dispatcher builder
Implementations
impl DispatcherBuilder[src]
pub fn new() -> Self[src]
Create a new Dispatcher builder
pub fn with_backend(
self,
provider_id: ProviderID,
backend_handler: BackEndHandler
) -> Self[src]
self,
provider_id: ProviderID,
backend_handler: BackEndHandler
) -> Self
Add a BackEndHandler with a specific Provider ID to the dispatcher
pub fn with_backends(
self,
new_backends: HashMap<ProviderID, BackEndHandler>
) -> Self[src]
self,
new_backends: HashMap<ProviderID, BackEndHandler>
) -> Self
Add multiple BackEndHandler to the dispatcher in one call
pub fn build(self) -> Result<Dispatcher>[src]
Build the builder into a dispatcher
Trait Implementations
impl Debug for DispatcherBuilder[src]
impl Default for DispatcherBuilder[src]
fn default() -> DispatcherBuilder[src]
Auto Trait Implementations
impl !RefUnwindSafe for DispatcherBuilder
impl Send for DispatcherBuilder
impl Sync for DispatcherBuilder
impl Unpin for DispatcherBuilder
impl !UnwindSafe for DispatcherBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Free for T
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,