pub struct CallContext {
pub method_name: &'static str,
pub args: Vec<ArgValue>,
}Expand description
调用上下文 — 传递给拦截器的上下文信息
Fields§
§method_name: &'static str方法名
args: Vec<ArgValue>参数 Debug 表示(用于日志/监控拦截器)
Implementations§
Auto Trait Implementations§
impl Freeze for CallContext
impl RefUnwindSafe for CallContext
impl Send for CallContext
impl Sync for CallContext
impl Unpin for CallContext
impl UnsafeUnpin for CallContext
impl UnwindSafe for CallContext
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