pub enum ArgTransform {
None,
Rewrite(String),
InjectContext(String),
}Expand description
An argument transform the argument-aware dispatch policy asked for, honored only when the call is otherwise allowed.
Variants§
None
Run the call as proposed.
Rewrite(String)
Run the call with these replacement arguments.
InjectContext(String)
Prepend this context as an internal-only note before the call runs.
Trait Implementations§
Source§impl Clone for ArgTransform
impl Clone for ArgTransform
Source§fn clone(&self) -> ArgTransform
fn clone(&self) -> ArgTransform
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 ArgTransform
impl Debug for ArgTransform
Source§impl Default for ArgTransform
impl Default for ArgTransform
Source§fn default() -> ArgTransform
fn default() -> ArgTransform
Returns the “default value” for a type. Read more
impl Eq for ArgTransform
Source§impl PartialEq for ArgTransform
impl PartialEq for ArgTransform
impl StructuralPartialEq for ArgTransform
Auto Trait Implementations§
impl Freeze for ArgTransform
impl RefUnwindSafe for ArgTransform
impl Send for ArgTransform
impl Sync for ArgTransform
impl Unpin for ArgTransform
impl UnsafeUnpin for ArgTransform
impl UnwindSafe for ArgTransform
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