pub struct UiSender<T: Transport> { /* private fields */ }Expand description
UiSender sends messages to a Ui service client for sending Ui messages
Implementations§
Source§impl<'send> UiSender<ProviderTransport<'send>>
impl<'send> UiSender<ProviderTransport<'send>>
Sourcepub fn for_actor(ld: &'send LinkDefinition) -> Self
pub fn for_actor(ld: &'send LinkDefinition) -> Self
Constructs a Sender using an actor’s LinkDefinition, Uses the provider’s HostBridge for rpc
Trait Implementations§
Source§impl<T: Transport + Sync + Send> Ui for UiSender<T>
impl<T: Transport + Sync + Send> Ui for UiSender<T>
Auto Trait Implementations§
impl<T> Freeze for UiSender<T>where
T: Freeze,
impl<T> RefUnwindSafe for UiSender<T>where
T: RefUnwindSafe,
impl<T> Send for UiSender<T>
impl<T> Sync for UiSender<T>
impl<T> Unpin for UiSender<T>where
T: Unpin,
impl<T> UnwindSafe for UiSender<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