Struct elfo::UnattachedSource
source · pub struct UnattachedSource<H> { /* private fields */ }
Expand description
A wrapper to indicate that a source hasn’t been attached to a context yet.
Sources does nothing unless they are attached to a context.
Use Context::attach()
to do it.
Auto Trait Implementations§
impl<H> !RefUnwindSafe for UnattachedSource<H>
impl<H> Send for UnattachedSource<H>where H: Send,
impl<H> Sync for UnattachedSource<H>where H: Sync,
impl<H> Unpin for UnattachedSource<H>where H: Unpin,
impl<H> !UnwindSafe for UnattachedSource<H>
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