pub enum Action<I, L> {
Connect(I),
Close(I),
Remove(I),
Acquired {
token: u64,
lease: L,
},
Failed {
token: u64,
error: Error,
},
Ended,
}Variants§
Auto Trait Implementations§
impl<I, L> !RefUnwindSafe for Action<I, L>
impl<I, L> !UnwindSafe for Action<I, L>
impl<I, L> Forget for Action<I, L>
impl<I, L> Freeze for Action<I, L>
impl<I, L> Send for Action<I, L>
impl<I, L> Sync for Action<I, L>
impl<I, L> Unpin for Action<I, L>
impl<I, L> UnsafeUnpin for Action<I, L>where
I: UnsafeUnpin,
L: UnsafeUnpin,
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