Struct paxakos::leases::leaser::Leaser [−][src]
pub struct Leaser<T, V = ()> { /* fields omitted */ }
Implementations
pub fn new<N, E, R, I>(
node_handle: HandleFor<N>
) -> (Self, LeaseKeeper<N, T, E, R, I, V>) where
N: Node,
T: ApplicableTo<StateOf<N>>,
E: ApplicableTo<StateOf<N>>,
R: ApplicableTo<StateOf<N>>,
ProjectedOf<T, StateOf<N>>: LeaseResult<V, LeaseId = I>,
ProjectedOf<E, StateOf<N>>: LeaseResult<LeaseId = I>,
I: Copy,
Trait Implementations
Auto Trait Implementations
impl<T, V = ()> !RefUnwindSafe for Leaser<T, V>
impl<T, V = ()> !UnwindSafe for Leaser<T, V>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more