pub struct TransactionAdvice { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Advice for TransactionAdvice
impl Advice for TransactionAdvice
fn pointcut_expr(&self) -> &'static str
fn before_async(&self, req: Request<Body>) -> BoxFuture<'static, Request<Body>>
fn after_async(&self, res: Response<Body>) -> BoxFuture<'static, Response<Body>>
fn before(&self, req: Request<Body>) -> Request<Body>
fn after(&self, res: Response<Body>) -> Response<Body>
fn pointcut(&self) -> Pointcut
Source§impl Clone for TransactionAdvice
impl Clone for TransactionAdvice
Source§fn clone(&self) -> TransactionAdvice
fn clone(&self) -> TransactionAdvice
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 TransactionAdvice
impl RefUnwindSafe for TransactionAdvice
impl Send for TransactionAdvice
impl Sync for TransactionAdvice
impl Unpin for TransactionAdvice
impl UnwindSafe for TransactionAdvice
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