Struct yew_agent::worker::WorkerRegistrar
source · pub struct WorkerRegistrar<W, CODEC = Bincode>where
W: Worker,
CODEC: Codec,{ /* private fields */ }
Expand description
A Worker Registrar.
Implementations§
source§impl<W, CODEC> WorkerRegistrar<W, CODEC>where
W: Worker + 'static,
CODEC: Codec,
impl<W, CODEC> WorkerRegistrar<W, CODEC>where W: Worker + 'static, CODEC: Codec,
sourcepub fn encoding<C>(&self) -> WorkerRegistrar<W, C>where
C: Codec,
pub fn encoding<C>(&self) -> WorkerRegistrar<W, C>where C: Codec,
Sets a new message encoding.
Trait Implementations§
Auto Trait Implementations§
impl<W, CODEC> RefUnwindSafe for WorkerRegistrar<W, CODEC>where CODEC: RefUnwindSafe, W: RefUnwindSafe,
impl<W, CODEC> Send for WorkerRegistrar<W, CODEC>where CODEC: Send, W: Send,
impl<W, CODEC> Sync for WorkerRegistrar<W, CODEC>where CODEC: Sync, W: Sync,
impl<W, CODEC> Unpin for WorkerRegistrar<W, CODEC>where CODEC: Unpin, W: Unpin,
impl<W, CODEC> UnwindSafe for WorkerRegistrar<W, CODEC>where CODEC: UnwindSafe, W: 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
§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> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.