#[non_exhaustive]#[repr(u32)]pub enum cef_response_filter_status_t {
RESPONSE_FILTER_NEED_MORE_DATA = 0,
RESPONSE_FILTER_DONE = 1,
RESPONSE_FILTER_ERROR = 2,
}Expand description
Return values for CefResponseFilter::Filter().
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.
RESPONSE_FILTER_NEED_MORE_DATA = 0
Some or all of the pre-filter data was read successfully but more data is needed in order to continue filtering (filtered output is pending).
RESPONSE_FILTER_DONE = 1
Some or all of the pre-filter data was read successfully and all available filtered output has been written.
RESPONSE_FILTER_ERROR = 2
An error occurred during filtering.
Trait Implementations§
Source§impl Clone for cef_response_filter_status_t
impl Clone for cef_response_filter_status_t
Source§fn clone(&self) -> cef_response_filter_status_t
fn clone(&self) -> cef_response_filter_status_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 Debug for cef_response_filter_status_t
impl Debug for cef_response_filter_status_t
Source§impl Hash for cef_response_filter_status_t
impl Hash for cef_response_filter_status_t
Source§impl PartialEq for cef_response_filter_status_t
impl PartialEq for cef_response_filter_status_t
Source§fn eq(&self, other: &cef_response_filter_status_t) -> bool
fn eq(&self, other: &cef_response_filter_status_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cef_response_filter_status_t
impl Eq for cef_response_filter_status_t
impl StructuralPartialEq for cef_response_filter_status_t
Auto Trait Implementations§
impl Freeze for cef_response_filter_status_t
impl RefUnwindSafe for cef_response_filter_status_t
impl Send for cef_response_filter_status_t
impl Sync for cef_response_filter_status_t
impl Unpin for cef_response_filter_status_t
impl UnsafeUnpin for cef_response_filter_status_t
impl UnwindSafe for cef_response_filter_status_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