pub struct RegisteredAspect {
pub aspect: Arc<dyn Aspect>,
pub pointcut: Pointcut,
pub order: i32,
pub name: Option<String>,
}Expand description
A registered aspect with its associated pointcut and metadata.
Fields§
§aspect: Arc<dyn Aspect>The aspect instance
pointcut: PointcutThe pointcut pattern this aspect matches
order: i32Execution order (lower values run first/outermost)
name: Option<String>Optional name for debugging
Trait Implementations§
Source§impl Clone for RegisteredAspect
impl Clone for RegisteredAspect
Source§fn clone(&self) -> RegisteredAspect
fn clone(&self) -> RegisteredAspect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegisteredAspect
impl !RefUnwindSafe for RegisteredAspect
impl Send for RegisteredAspect
impl Sync for RegisteredAspect
impl Unpin for RegisteredAspect
impl UnsafeUnpin for RegisteredAspect
impl !UnwindSafe for RegisteredAspect
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