pub enum WindowCssNonceError {
Invalid,
}Expand description
Error when a host-supplied CSP nonce cannot be placed in a style attribute.
Variants§
Invalid
The nonce is empty, too long, or not a Base64/Base64URL token.
Trait Implementations§
Source§impl Clone for WindowCssNonceError
impl Clone for WindowCssNonceError
impl Copy for WindowCssNonceError
Source§impl Debug for WindowCssNonceError
impl Debug for WindowCssNonceError
Source§impl Display for WindowCssNonceError
impl Display for WindowCssNonceError
impl Eq for WindowCssNonceError
Source§impl Error for WindowCssNonceError
impl Error for WindowCssNonceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for WindowCssNonceError
impl PartialEq for WindowCssNonceError
impl StructuralPartialEq for WindowCssNonceError
Auto Trait Implementations§
impl Freeze for WindowCssNonceError
impl RefUnwindSafe for WindowCssNonceError
impl Send for WindowCssNonceError
impl Sync for WindowCssNonceError
impl Unpin for WindowCssNonceError
impl UnsafeUnpin for WindowCssNonceError
impl UnwindSafe for WindowCssNonceError
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