pub enum RuleIteratorRequest {
Next {
responder: RuleIteratorNextResponder,
},
}
Expand description
The iterator over all the rewrite rules defined in a [Engine
].
Variants§
Next
Advances the iterator and returns the next batch of rules.
- response
rules
a vector ofRule
rules. Will return an empty vector and then close the channel when there are no more rules.
Fields
§
responder: RuleIteratorNextResponder
Implementations§
Source§impl RuleIteratorRequest
impl RuleIteratorRequest
pub fn into_next(self) -> Option<RuleIteratorNextResponder>
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 RuleIteratorRequest
impl !RefUnwindSafe for RuleIteratorRequest
impl Send for RuleIteratorRequest
impl Sync for RuleIteratorRequest
impl Unpin for RuleIteratorRequest
impl !UnwindSafe for RuleIteratorRequest
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