Struct fuchsia_component_test::EventStream
source · 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
source§fn eq(&self, other: &EventStream) -> bool
fn eq(&self, other: &EventStream) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)