#[non_exhaustive]#[repr(u32)]pub enum cef_media_route_create_result_t {
Show 16 variants
CEF_MRCR_UNKNOWN_ERROR = 0,
CEF_MRCR_OK = 1,
CEF_MRCR_TIMED_OUT = 2,
CEF_MRCR_ROUTE_NOT_FOUND = 3,
CEF_MRCR_SINK_NOT_FOUND = 4,
CEF_MRCR_INVALID_ORIGIN = 5,
CEF_MRCR_OFF_THE_RECORD_MISMATCH_DEPRECATED = 6,
CEF_MRCR_NO_SUPPORTED_PROVIDER = 7,
CEF_MRCR_CANCELLED = 8,
CEF_MRCR_ROUTE_ALREADY_EXISTS = 9,
CEF_MRCR_DESKTOP_PICKER_FAILED = 10,
CEF_MRCR_ROUTE_ALREADY_TERMINATED = 11,
CEF_MRCR_REDUNDANT_REQUEST = 12,
CEF_MRCR_USER_NOT_ALLOWED = 13,
CEF_MRCR_NOTIFICATION_DISABLED = 14,
CEF_MRCR_NUM_VALUES = 15,
}Expand description
Result codes for CefMediaRouter::CreateRoute. Should be kept in sync with Chromium’s media_router::mojom::RouteRequestResultCode type.
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.
CEF_MRCR_UNKNOWN_ERROR = 0
CEF_MRCR_OK = 1
CEF_MRCR_TIMED_OUT = 2
CEF_MRCR_ROUTE_NOT_FOUND = 3
CEF_MRCR_SINK_NOT_FOUND = 4
CEF_MRCR_INVALID_ORIGIN = 5
CEF_MRCR_OFF_THE_RECORD_MISMATCH_DEPRECATED = 6
CEF_MRCR_NO_SUPPORTED_PROVIDER = 7
CEF_MRCR_CANCELLED = 8
CEF_MRCR_ROUTE_ALREADY_EXISTS = 9
CEF_MRCR_DESKTOP_PICKER_FAILED = 10
CEF_MRCR_ROUTE_ALREADY_TERMINATED = 11
CEF_MRCR_REDUNDANT_REQUEST = 12
CEF_MRCR_USER_NOT_ALLOWED = 13
CEF_MRCR_NOTIFICATION_DISABLED = 14
CEF_MRCR_NUM_VALUES = 15
Trait Implementations§
Source§impl Clone for cef_media_route_create_result_t
impl Clone for cef_media_route_create_result_t
Source§fn clone(&self) -> cef_media_route_create_result_t
fn clone(&self) -> cef_media_route_create_result_t
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 cef_media_route_create_result_t
impl PartialEq for cef_media_route_create_result_t
Source§fn eq(&self, other: &cef_media_route_create_result_t) -> bool
fn eq(&self, other: &cef_media_route_create_result_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cef_media_route_create_result_t
impl Eq for cef_media_route_create_result_t
impl StructuralPartialEq for cef_media_route_create_result_t
Auto Trait Implementations§
impl Freeze for cef_media_route_create_result_t
impl RefUnwindSafe for cef_media_route_create_result_t
impl Send for cef_media_route_create_result_t
impl Sync for cef_media_route_create_result_t
impl Unpin for cef_media_route_create_result_t
impl UnwindSafe for cef_media_route_create_result_t
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