pub enum TrustPolicy {
Untrusted,
Trusted,
Callback(TrustHandler),
}Expand description
The trust policy for commands that could be unsafe (\href, \url, HTML).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TrustPolicy
impl !Send for TrustPolicy
impl !Sync for TrustPolicy
impl !UnwindSafe for TrustPolicy
impl Freeze for TrustPolicy
impl Unpin for TrustPolicy
impl UnsafeUnpin for TrustPolicy
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