pub struct NotificationInbox {
pub messages: Receiver<ServerMessage>,
pub publishes: PublishReader,
}Expand description
Everything a server’s notification lane delivers to the bridge: log and
showMessage frames from a bounded channel, and the diagnostics mailbox.
Fields§
§messages: Receiver<ServerMessage>The log/showMessage channel.
publishes: PublishReaderThe diagnostics mailbox.
Implementations§
Source§impl NotificationInbox
impl NotificationInbox
Sourcepub const fn new(
messages: Receiver<ServerMessage>,
publishes: PublishReader,
) -> Self
pub const fn new( messages: Receiver<ServerMessage>, publishes: PublishReader, ) -> Self
An inbox over messages and publishes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NotificationInbox
impl RefUnwindSafe for NotificationInbox
impl Send for NotificationInbox
impl Sync for NotificationInbox
impl Unpin for NotificationInbox
impl UnsafeUnpin for NotificationInbox
impl UnwindSafe for NotificationInbox
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