Enum ToolProvenance
pub enum ToolProvenance {
Native,
Extension,
}Expand description
Trust origin of a registered tool implementation.
This is deliberately separate from ToolKind: first-party and extension
tools can share a behavioral role, while presentation policy must not grant
an extension the disclosure privileges of a native implementation.
Variants§
Trait Implementations§
Source§impl Clone for ToolProvenance
impl Clone for ToolProvenance
Source§fn clone(&self) -> ToolProvenance
fn clone(&self) -> ToolProvenance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ToolProvenance
Source§impl Debug for ToolProvenance
impl Debug for ToolProvenance
impl Eq for ToolProvenance
Source§impl PartialEq for ToolProvenance
impl PartialEq for ToolProvenance
impl StructuralPartialEq for ToolProvenance
Auto Trait Implementations§
impl Freeze for ToolProvenance
impl RefUnwindSafe for ToolProvenance
impl Send for ToolProvenance
impl Sync for ToolProvenance
impl Unpin for ToolProvenance
impl UnsafeUnpin for ToolProvenance
impl UnwindSafe for ToolProvenance
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