pub enum DebugBrokerRequest {
SendDebugCommand {
command: String,
responder: DebugBrokerSendDebugCommandResponder,
},
SetTracingEnabled {
enabled: bool,
responder: DebugBrokerSetTracingEnabledResponder,
},
}
Expand description
Acts on behalf of the caller to interact with privileged debug system calls.
Variants§
SendDebugCommand
Pass debug command through to the kernel shell. Look at zx_debug_send_command syscall handling to find valid values.
SetTracingEnabled
Sets whether kernel tracing (ktrace) is enabled or disabled.
Implementations§
Source§impl DebugBrokerRequest
impl DebugBrokerRequest
pub fn into_send_debug_command( self, ) -> Option<(String, DebugBrokerSendDebugCommandResponder)>
pub fn into_set_tracing_enabled( self, ) -> Option<(bool, DebugBrokerSetTracingEnabledResponder)>
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 DebugBrokerRequest
impl !RefUnwindSafe for DebugBrokerRequest
impl Send for DebugBrokerRequest
impl Sync for DebugBrokerRequest
impl Unpin for DebugBrokerRequest
impl !UnwindSafe for DebugBrokerRequest
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