pub struct SinkHandle { /* private fields */ }Expand description
The EventSink port role.
The sequence counters are the handle’s own, one per event channel, for the
same reason the writer handle’s are: ridl §3.1 scopes the number to the
channel and has the sender assign it. One counter for the whole handle
would make a consumer subscribed to some of this sink’s events see a gap in
seq where nothing was lost, and EventSource::next states that a gap is
a loss.
Trait Implementations§
Source§impl Attached for SinkHandle
impl Attached for SinkHandle
Source§fn catalog(&self) -> &CatalogRef
fn catalog(&self) -> &CatalogRef
The catalog this port serves.
Source§impl EventSink for SinkHandle
impl EventSink for SinkHandle
Source§fn raise(
&mut self,
iface: InterfaceNo,
ord: Ordinal,
bytes: &[u8],
trace: Option<TraceContext>,
) -> Result<(), RaiseError>
fn raise( &mut self, iface: InterfaceNo, ord: Ordinal, bytes: &[u8], trace: Option<TraceContext>, ) -> Result<(), RaiseError>
Raises one occurrence.
Auto Trait Implementations§
impl Freeze for SinkHandle
impl RefUnwindSafe for SinkHandle
impl Send for SinkHandle
impl Sync for SinkHandle
impl Unpin for SinkHandle
impl UnsafeUnpin for SinkHandle
impl UnwindSafe for SinkHandle
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