pub struct Hooks<Az = OpenAuthorizer, Ad = DefaultAdmission, Pr = NoPreReceive, Rs = NoReceipts, Os = NoOutcomes> {
pub authorizer: Az,
pub admission: Ad,
pub pre_receive: Pr,
pub receipts: Rs,
pub outcomes: Os,
}Expand description
A HookSet from one value per stage; Hooks::default() is M0’s.
Fields§
Stage 2.
admission: AdStage 3.
pre_receive: PrStage 5.
receipts: RsStage 7.
outcomes: OsStage 8.
Implementations§
Trait Implementations§
Source§impl<Az: Clone, Ad: Clone, Pr: Clone, Rs: Clone, Os: Clone> Clone for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az: Clone, Ad: Clone, Pr: Clone, Rs: Clone, Os: Clone> Clone for Hooks<Az, Ad, Pr, Rs, Os>
Source§impl<Az: Debug, Ad: Debug, Pr: Debug, Rs: Debug, Os: Debug> Debug for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az: Debug, Ad: Debug, Pr: Debug, Rs: Debug, Os: Debug> Debug for Hooks<Az, Ad, Pr, Rs, Os>
Source§impl<Az: Default, Ad: Default, Pr: Default, Rs: Default, Os: Default> Default for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az: Default, Ad: Default, Pr: Default, Rs: Default, Os: Default> Default for Hooks<Az, Ad, Pr, Rs, Os>
Auto Trait Implementations§
impl<Az, Ad, Pr, Rs, Os> Freeze for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az, Ad, Pr, Rs, Os> RefUnwindSafe for Hooks<Az, Ad, Pr, Rs, Os>where
Az: RefUnwindSafe,
Ad: RefUnwindSafe,
Pr: RefUnwindSafe,
Rs: RefUnwindSafe,
Os: RefUnwindSafe,
impl<Az, Ad, Pr, Rs, Os> Send for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az, Ad, Pr, Rs, Os> Sync for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az, Ad, Pr, Rs, Os> Unpin for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az, Ad, Pr, Rs, Os> UnsafeUnpin for Hooks<Az, Ad, Pr, Rs, Os>
impl<Az, Ad, Pr, Rs, Os> UnwindSafe for Hooks<Az, Ad, Pr, Rs, Os>
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