pub struct Single<S, H, Tr, F = Efn<S, H, Tr>>(/* private fields */);
Expand description
Etable with only one function.
Implementations§
Trait Implementations§
impl<S, H, Tr, F: Send> Send for Single<S, H, Tr, F>
impl<S, H, Tr, F: Sync> Sync for Single<S, H, Tr, F>
Auto Trait Implementations§
impl<S, H, Tr, F> Freeze for Single<S, H, Tr, F>where
F: Freeze,
impl<S, H, Tr, F> RefUnwindSafe for Single<S, H, Tr, F>
impl<S, H, Tr, F> Unpin for Single<S, H, Tr, F>
impl<S, H, Tr, F> UnwindSafe for Single<S, H, Tr, F>
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
Source§impl<T> TrapConsume<T> for T
impl<T> TrapConsume<T> for T
Source§type Rest = Infallible
type Rest = Infallible
Rest type.
Source§fn consume(self) -> Result<T, Infallible>
fn consume(self) -> Result<T, Infallible>
Consume
T
to get Rest
.