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>,
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§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more