#[non_exhaustive]#[repr(u32)]pub enum AServiceManager_AddServiceFlag {
ADD_SERVICE_ALLOW_ISOLATED = 1,
ADD_SERVICE_DUMP_FLAG_PRIORITY_CRITICAL = 2,
ADD_SERVICE_DUMP_FLAG_PRIORITY_HIGH = 4,
ADD_SERVICE_DUMP_FLAG_PRIORITY_NORMAL = 8,
ADD_SERVICE_DUMP_FLAG_PRIORITY_DEFAULT = 16,
ADD_SERVICE_DUMP_FLAG_PROTO = 32,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ADD_SERVICE_ALLOW_ISOLATED = 1
This allows processes with AID_ISOLATED to get the binder of the service added.
Services with methods that perform file IO, web socket creation or ways to egress data must not be added with this flag for privacy concerns.
ADD_SERVICE_DUMP_FLAG_PRIORITY_CRITICAL = 2
Allows services to dump sections according to priorities and format
ADD_SERVICE_DUMP_FLAG_PRIORITY_HIGH = 4
Allows services to dump sections according to priorities and format
ADD_SERVICE_DUMP_FLAG_PRIORITY_NORMAL = 8
Allows services to dump sections according to priorities and format
ADD_SERVICE_DUMP_FLAG_PRIORITY_DEFAULT = 16
Allows services to dump sections according to priorities and format
ADD_SERVICE_DUMP_FLAG_PROTO = 32
Allows services to dump sections according to priorities and format
Trait Implementations§
Source§impl Clone for AServiceManager_AddServiceFlag
impl Clone for AServiceManager_AddServiceFlag
Source§fn clone(&self) -> AServiceManager_AddServiceFlag
fn clone(&self) -> AServiceManager_AddServiceFlag
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for AServiceManager_AddServiceFlag
impl PartialEq for AServiceManager_AddServiceFlag
Source§fn eq(&self, other: &AServiceManager_AddServiceFlag) -> bool
fn eq(&self, other: &AServiceManager_AddServiceFlag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AServiceManager_AddServiceFlag
impl Eq for AServiceManager_AddServiceFlag
impl StructuralPartialEq for AServiceManager_AddServiceFlag
Auto Trait Implementations§
impl Freeze for AServiceManager_AddServiceFlag
impl RefUnwindSafe for AServiceManager_AddServiceFlag
impl Send for AServiceManager_AddServiceFlag
impl Sync for AServiceManager_AddServiceFlag
impl Unpin for AServiceManager_AddServiceFlag
impl UnwindSafe for AServiceManager_AddServiceFlag
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