pub trait Endpoint {
// Required methods
fn registrar(&self) -> &dyn Registrar;
fn issuer(&mut self) -> &mut dyn Issuer;
}Expand description
The specific endpoint trait for refreshing.
Each method will only be invoked exactly once when processing a correct and authorized request,
and potentially less than once when the request is faulty. These methods should be implemented
by internally using primitives, as it is implemented in the frontend module.
This is the utility trait used by refresh to provide a simple loop around the Refresh
state machine, the trait objects returned are used to fulfill the input requests.