#[repr(i32)]pub enum MessageClass {
Show 38 variants
ClassUnspecified = 0,
ClassAutomation = 1,
ClassFrame = 2,
ClassPage = 3,
ClassView = 4,
ClassWidget = 5,
ClassInput = 6,
ClassTest = 7,
ClassWorker = 8,
ClassNacl = 9,
ClassGpuChannel = 10,
ClassMedia = 11,
ClassPpapi = 12,
ClassChrome = 13,
ClassDrag = 14,
ClassPrint = 15,
ClassExtension = 16,
ClassTextInputClient = 17,
ClassBlinkTest = 18,
ClassAccessibility = 19,
ClassPrerender = 20,
ClassChromoting = 21,
ClassBrowserPlugin = 22,
ClassAndroidWebView = 23,
ClassNaclHost = 24,
ClassEncryptedMedia = 25,
ClassCast = 26,
ClassGinJavaBridge = 27,
ClassChromeUtilityPrinting = 28,
ClassOzoneGpu = 29,
ClassWebTest = 30,
ClassNetworkHints = 31,
ClassExtensionsGuestView = 32,
ClassGuestView = 33,
ClassMediaPlayerDelegate = 34,
ClassExtensionWorker = 35,
ClassSubresourceFilter = 36,
ClassUnfreezableFrame = 37,
}
Variants§
ClassUnspecified = 0
ClassAutomation = 1
ClassFrame = 2
ClassPage = 3
ClassView = 4
ClassWidget = 5
ClassInput = 6
ClassTest = 7
ClassWorker = 8
ClassNacl = 9
ClassGpuChannel = 10
ClassMedia = 11
ClassPpapi = 12
ClassChrome = 13
ClassDrag = 14
ClassPrint = 15
ClassExtension = 16
ClassTextInputClient = 17
ClassBlinkTest = 18
ClassAccessibility = 19
ClassPrerender = 20
ClassChromoting = 21
ClassBrowserPlugin = 22
ClassAndroidWebView = 23
ClassNaclHost = 24
ClassEncryptedMedia = 25
ClassCast = 26
ClassGinJavaBridge = 27
ClassChromeUtilityPrinting = 28
ClassOzoneGpu = 29
ClassWebTest = 30
ClassNetworkHints = 31
ClassExtensionsGuestView = 32
ClassGuestView = 33
ClassMediaPlayerDelegate = 34
ClassExtensionWorker = 35
ClassSubresourceFilter = 36
ClassUnfreezableFrame = 37
Implementations§
Source§impl MessageClass
impl MessageClass
Source§impl MessageClass
impl MessageClass
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for MessageClass
impl Clone for MessageClass
Source§fn clone(&self) -> MessageClass
fn clone(&self) -> MessageClass
Returns a copy 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 Debug for MessageClass
impl Debug for MessageClass
Source§impl Default for MessageClass
impl Default for MessageClass
Source§fn default() -> MessageClass
fn default() -> MessageClass
Returns the “default value” for a type. Read more
Source§impl From<MessageClass> for i32
impl From<MessageClass> for i32
Source§fn from(value: MessageClass) -> i32
fn from(value: MessageClass) -> i32
Converts to this type from the input type.
Source§impl Hash for MessageClass
impl Hash for MessageClass
Source§impl Ord for MessageClass
impl Ord for MessageClass
Source§fn cmp(&self, other: &MessageClass) -> Ordering
fn cmp(&self, other: &MessageClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MessageClass
impl PartialEq for MessageClass
Source§impl PartialOrd for MessageClass
impl PartialOrd for MessageClass
Source§impl TryFrom<i32> for MessageClass
impl TryFrom<i32> for MessageClass
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<MessageClass, DecodeError>
fn try_from(value: i32) -> Result<MessageClass, DecodeError>
Performs the conversion.
impl Copy for MessageClass
impl Eq for MessageClass
impl StructuralPartialEq for MessageClass
Auto Trait Implementations§
impl Freeze for MessageClass
impl RefUnwindSafe for MessageClass
impl Send for MessageClass
impl Sync for MessageClass
impl Unpin for MessageClass
impl UnwindSafe for MessageClass
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