pub enum Boundary {
Owner,
System,
External,
}Expand description
The boundary a representation crosses, which sanitisers run on.
Variants§
Owner
Kept inside the owner: nothing is removed by default.
System
Written to the system clipboard, where other applications read it: local paths, secrets and owner-local ids go.
External
Coming in from outside (another application’s content): reduced before a target sees it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Boundary
impl<'de> Deserialize<'de> for Boundary
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 Ord for Boundary
impl Ord for Boundary
Source§impl PartialOrd for Boundary
impl PartialOrd for Boundary
impl Copy for Boundary
impl Eq for Boundary
impl StructuralPartialEq for Boundary
Auto Trait Implementations§
impl Freeze for Boundary
impl RefUnwindSafe for Boundary
impl Send for Boundary
impl Sync for Boundary
impl Unpin for Boundary
impl UnsafeUnpin for Boundary
impl UnwindSafe for Boundary
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