pub(crate) enum AllowResult {
Allows,
DoesNotAllow,
}
Expand description
https://www.w3.org/TR/CSP/#allow-all-inline
Variants§
Trait Implementations§
source§impl Clone for AllowResult
impl Clone for AllowResult
source§fn clone(&self) -> AllowResult
fn clone(&self) -> AllowResult
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 AllowResult
impl Debug for AllowResult
source§impl PartialEq for AllowResult
impl PartialEq for AllowResult
source§fn eq(&self, other: &AllowResult) -> bool
fn eq(&self, other: &AllowResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AllowResult
impl Eq for AllowResult
impl StructuralPartialEq for AllowResult
Auto Trait Implementations§
impl Freeze for AllowResult
impl RefUnwindSafe for AllowResult
impl Send for AllowResult
impl Sync for AllowResult
impl Unpin for AllowResult
impl UnwindSafe for AllowResult
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