pub struct EventStream { /* private fields */ }
Expand description
Represents an event stream capability per RFC-0121 see https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0121_component_events
Implementations§
Source§impl EventStream
impl EventStream
Sourcepub fn with_scope(self, scope: impl Into<Ref>) -> Self
pub fn with_scope(self, scope: impl Into<Ref>) -> Self
Downscopes an event stream to only handle events from the specified Refs.
Trait Implementations§
Source§impl Clone for EventStream
impl Clone for EventStream
Source§fn clone(&self) -> EventStream
fn clone(&self) -> EventStream
Returns a copy 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 Debug for EventStream
impl Debug for EventStream
Source§impl Hash for EventStream
impl Hash for EventStream
Source§impl Into<Capability> for EventStream
impl Into<Capability> for EventStream
Source§fn into(self) -> Capability
fn into(self) -> Capability
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for EventStream
impl PartialEq for EventStream
impl Eq for EventStream
impl StructuralPartialEq for EventStream
Auto Trait Implementations§
impl Freeze for EventStream
impl RefUnwindSafe for EventStream
impl Send for EventStream
impl Sync for EventStream
impl Unpin for EventStream
impl UnwindSafe for EventStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)