pub enum SecurityStance {
DisableInsecures,
MaybeAllowInsecures,
}
Expand description
Different high-level security stances that can be adopted when creating
SecuritySettings
.
Variants§
DisableInsecures
Ensure that all known-insecure features are disabled.
Use this stance if you are processing untrusted input.
MaybeAllowInsecures
Request to allow the use of known-insecure features.
Use this stance if you are processing trusted input and there is some
user-level request to use such features. The request to allow insecure
features might be overridden if the environment variable
TECTONIC_UNTRUSTED_MODE
is set.
Trait Implementations§
source§impl Clone for SecurityStance
impl Clone for SecurityStance
source§fn clone(&self) -> SecurityStance
fn clone(&self) -> SecurityStance
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 SecurityStance
impl Debug for SecurityStance
source§impl Default for SecurityStance
impl Default for SecurityStance
source§fn default() -> SecurityStance
fn default() -> SecurityStance
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SecurityStance
impl Send for SecurityStance
impl Sync for SecurityStance
impl Unpin for SecurityStance
impl UnwindSafe for SecurityStance
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