#[non_exhaustive]pub enum ConsoleMessageSource {
Show 17 variants
XML = 0,
JS = 1,
Network = 2,
ConsoleAPI = 3,
Storage = 4,
AppCache = 5,
Rendering = 6,
CSS = 7,
Security = 8,
ContentBlocker = 9,
Media = 10,
MediaSource = 11,
WebRTC = 12,
ITPDebug = 13,
PrivateClickMeasurement = 14,
PaymentRequest = 15,
Other = 16,
}Expand description
Console message source types (See View::set_add_console_message_callback)
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.
XML = 0
JS = 1
Network = 2
ConsoleAPI = 3
Storage = 4
AppCache = 5
Rendering = 6
CSS = 7
Security = 8
ContentBlocker = 9
Media = 10
MediaSource = 11
WebRTC = 12
ITPDebug = 13
PrivateClickMeasurement = 14
PaymentRequest = 15
Other = 16
Trait Implementations§
Source§impl Clone for ConsoleMessageSource
impl Clone for ConsoleMessageSource
Source§fn clone(&self) -> ConsoleMessageSource
fn clone(&self) -> ConsoleMessageSource
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 Debug for ConsoleMessageSource
impl Debug for ConsoleMessageSource
Source§impl TryFrom<u32> for ConsoleMessageSource
impl TryFrom<u32> for ConsoleMessageSource
impl Copy for ConsoleMessageSource
Auto Trait Implementations§
impl Freeze for ConsoleMessageSource
impl RefUnwindSafe for ConsoleMessageSource
impl Send for ConsoleMessageSource
impl Sync for ConsoleMessageSource
impl Unpin for ConsoleMessageSource
impl UnwindSafe for ConsoleMessageSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Content for Twhere
T: Copy,
impl<T> Content for Twhere
T: Copy,
Source§unsafe fn read<F, E>(size: usize, f: F) -> Result<T, E>
unsafe fn read<F, E>(size: usize, f: F) -> Result<T, E>
Prepares an output buffer, then turns this buffer into an
Owned.
User-provided closure F must only write to and not read from &mut Self.Source§fn get_elements_size() -> usize
fn get_elements_size() -> usize
Returns the size of each element.
Source§fn to_void_ptr(&self) -> *const ()
fn to_void_ptr(&self) -> *const ()
Produces a pointer to the data.
Source§fn ref_from_ptr<'a>(ptr: *mut (), size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut (), size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
Source§fn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.