pub struct SourceHandle { /* private fields */ }Expand description
The EventSource port role: one subscription set and one queue, both in
the store under this handle’s identity.
Each source handle receives its own copy of every occurrence raised while it is subscribed, so two consumers of one event never consume each other’s occurrences.
Trait Implementations§
Source§impl Attached for SourceHandle
impl Attached for SourceHandle
Source§fn catalog(&self) -> &CatalogRef
fn catalog(&self) -> &CatalogRef
The catalog this port serves.
Source§impl Drop for SourceHandle
impl Drop for SourceHandle
Source§impl EventSource for SourceHandle
impl EventSource for SourceHandle
Source§fn subscribe(
&mut self,
iface: InterfaceNo,
ords: &[Ordinal],
) -> Result<(), SubscribeError>
fn subscribe( &mut self, iface: InterfaceNo, ords: &[Ordinal], ) -> Result<(), SubscribeError>
Starts delivery of the listed events.
Source§fn unsubscribe(&mut self, iface: InterfaceNo, ords: &[Ordinal])
fn unsubscribe(&mut self, iface: InterfaceNo, ords: &[Ordinal])
Stops delivery of the listed events.
Auto Trait Implementations§
impl Freeze for SourceHandle
impl RefUnwindSafe for SourceHandle
impl Send for SourceHandle
impl Sync for SourceHandle
impl Unpin for SourceHandle
impl UnsafeUnpin for SourceHandle
impl UnwindSafe for SourceHandle
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