pub struct EventPublisher { /* private fields */ }Expand description
Event publisher for SCUD task management events.
Manages ZMQ sockets for publishing events and handling requests.
Implementations§
Source§impl EventPublisher
impl EventPublisher
Sourcepub fn receive_request(&self) -> Result<String>
pub fn receive_request(&self) -> Result<String>
Receive a request message.
This is a blocking call that waits for a request.
§Returns
A Result containing the received message or an error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventPublisher
impl RefUnwindSafe for EventPublisher
impl Send for EventPublisher
impl !Sync for EventPublisher
impl Unpin for EventPublisher
impl UnsafeUnpin for EventPublisher
impl UnwindSafe for EventPublisher
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