pub enum AgentType {
CameraWatcher,
Earcons,
MediaButtons,
Restore,
InspectExternalApis,
InspectSettingProxy,
InspectSettingValues,
InspectSettingTypeUsage,
}
Expand description
Represents each agent that can be run.
Variants§
CameraWatcher
Responsible for watching the camera3 mute status. If other clients of the camera3 api modify the camera state, the agent should watch and should coordinate that change with the internal camera state.
Earcons
Plays earcons in response to certain events. If MediaButtons is enabled, then it will also handle some media buttons events.
MediaButtons
Responsible for managing the connection to media buttons. It will broadcast events to the controllers and agents.
Restore
Responsible for initializing all of the controllers.
InspectExternalApis
Responsible for logging external API calls to other components and their responses to Inspect.
InspectSettingProxy
Responsible for logging all settings values of messages between the proxy and setting handlers to Inspect.
InspectSettingValues
Responsible for logging the setting values in the setting proxy to Inspect.
InspectSettingTypeUsage
Responsible for logging API usage counts to Inspect.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentType
impl<'de> Deserialize<'de> for AgentType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<AgentType> for AgentCreator
impl From<AgentType> for AgentCreator
Source§fn from(agent_type: AgentType) -> AgentCreator
fn from(agent_type: AgentType) -> AgentCreator
impl Copy for AgentType
impl Eq for AgentType
impl StructuralPartialEq for AgentType
Auto Trait Implementations§
impl Freeze for AgentType
impl RefUnwindSafe for AgentType
impl Send for AgentType
impl Sync for AgentType
impl Unpin for AgentType
impl UnwindSafe for AgentType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)