pub enum EventStreamRequest {
GetNext {
responder: EventStreamGetNextResponder,
},
WaitForReady {
responder: EventStreamWaitForReadyResponder,
},
}
Expand description
Listener for events on the component hierarchy. Can’t be used outside of the platform.
Variants§
GetNext
Fields
§
responder: EventStreamGetNextResponder
WaitForReady
Returns immediately. Used to indicate that the FIDL connection completed. This is needed for non-static streams to verify that subscribe has completed before components are started.
Fields
§
responder: EventStreamWaitForReadyResponder
Implementations§
Source§impl EventStreamRequest
impl EventStreamRequest
pub fn into_get_next(self) -> Option<EventStreamGetNextResponder>
pub fn into_wait_for_ready(self) -> Option<EventStreamWaitForReadyResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventStreamRequest
impl !RefUnwindSafe for EventStreamRequest
impl Send for EventStreamRequest
impl Sync for EventStreamRequest
impl Unpin for EventStreamRequest
impl !UnwindSafe for EventStreamRequest
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