pub enum SymlinkPolicy {
DenyEscapes,
FollowWithinAlias,
}Expand description
Enumerates the finite symlink policy cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
DenyEscapes
Use this variant when the contract needs to represent deny escapes; selecting it has no side effect by itself.
FollowWithinAlias
Use this variant when the contract needs to represent follow within alias; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for SymlinkPolicy
impl Clone for SymlinkPolicy
Source§fn clone(&self) -> SymlinkPolicy
fn clone(&self) -> SymlinkPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SymlinkPolicy
impl Debug for SymlinkPolicy
Source§impl<'de> Deserialize<'de> for SymlinkPolicy
impl<'de> Deserialize<'de> for SymlinkPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SymlinkPolicy
impl PartialEq for SymlinkPolicy
Source§fn eq(&self, other: &SymlinkPolicy) -> bool
fn eq(&self, other: &SymlinkPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SymlinkPolicy
impl Serialize for SymlinkPolicy
impl Eq for SymlinkPolicy
impl StructuralPartialEq for SymlinkPolicy
Auto Trait Implementations§
impl Freeze for SymlinkPolicy
impl RefUnwindSafe for SymlinkPolicy
impl Send for SymlinkPolicy
impl Sync for SymlinkPolicy
impl Unpin for SymlinkPolicy
impl UnsafeUnpin for SymlinkPolicy
impl UnwindSafe for SymlinkPolicy
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