pub enum SamplerTestControllerRequest {
IncrementInt {
property_id: u16,
responder: SamplerTestControllerIncrementIntResponder,
},
SetOptional {
value: i64,
responder: SamplerTestControllerSetOptionalResponder,
},
RemoveOptional {
responder: SamplerTestControllerRemoveOptionalResponder,
},
WaitForSample {
responder: SamplerTestControllerWaitForSampleResponder,
},
}
Variants§
IncrementInt
SetOptional
RemoveOptional
Fields
WaitForSample
Fields
§
responder: SamplerTestControllerWaitForSampleResponder
Implementations§
Source§impl SamplerTestControllerRequest
impl SamplerTestControllerRequest
pub fn into_increment_int( self, ) -> Option<(u16, SamplerTestControllerIncrementIntResponder)>
pub fn into_set_optional( self, ) -> Option<(i64, SamplerTestControllerSetOptionalResponder)>
pub fn into_remove_optional( self, ) -> Option<SamplerTestControllerRemoveOptionalResponder>
pub fn into_wait_for_sample( self, ) -> Option<SamplerTestControllerWaitForSampleResponder>
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 SamplerTestControllerRequest
impl !RefUnwindSafe for SamplerTestControllerRequest
impl Send for SamplerTestControllerRequest
impl Sync for SamplerTestControllerRequest
impl Unpin for SamplerTestControllerRequest
impl !UnwindSafe for SamplerTestControllerRequest
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