pub enum LogSinkPuppetRequest {
GetInfo {
responder: LogSinkPuppetGetInfoResponder,
},
EmitLog {
spec: RecordSpec,
responder: LogSinkPuppetEmitLogResponder,
},
StopInterestListener {
responder: LogSinkPuppetStopInterestListenerResponder,
},
}
Variants§
GetInfo
Returns the information the puppet knows about itself.
Fields
§
responder: LogSinkPuppetGetInfoResponder
EmitLog
Logs a record.
StopInterestListener
Disables the interest listener
Fields
§
responder: LogSinkPuppetStopInterestListenerResponder
Implementations§
Source§impl LogSinkPuppetRequest
impl LogSinkPuppetRequest
pub fn into_get_info(self) -> Option<LogSinkPuppetGetInfoResponder>
pub fn into_emit_log( self, ) -> Option<(RecordSpec, LogSinkPuppetEmitLogResponder)>
pub fn into_stop_interest_listener( self, ) -> Option<LogSinkPuppetStopInterestListenerResponder>
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 LogSinkPuppetRequest
impl !RefUnwindSafe for LogSinkPuppetRequest
impl Send for LogSinkPuppetRequest
impl Sync for LogSinkPuppetRequest
impl Unpin for LogSinkPuppetRequest
impl !UnwindSafe for LogSinkPuppetRequest
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