pub struct SseService { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for SseService
impl Clone for SseService
Source§fn clone(&self) -> SseService
fn clone(&self) -> SseService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommunicationService for SseService
impl CommunicationService for SseService
Source§fn install(
&mut self,
_api_receiver: InternalAPIReceiver,
event_sender: InternalEventSender,
)
fn install( &mut self, _api_receiver: InternalAPIReceiver, event_sender: InternalEventSender, )
安装服务
该方法仅进行服务的依赖注入,并不真正创建任务
应具备幂等性
该方法仅进行服务的依赖注入,并不真正创建任务
应具备幂等性
Source§impl Debug for SseService
impl Debug for SseService
Auto Trait Implementations§
impl Freeze for SseService
impl !RefUnwindSafe for SseService
impl Send for SseService
impl Sync for SseService
impl Unpin for SseService
impl UnsafeUnpin for SseService
impl !UnwindSafe for SseService
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