pub struct OutSink<'a>(pub &'a Output);Expand description
Bridges crate::EventSink to an existing Output.
Used in handle_* CLI wrappers so inner lib functions (which now take
&dyn EventSink) can still emit warnings through the normal CLI output.
Tuple Fields§
§0: &'a OutputTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OutSink<'a>
impl<'a> RefUnwindSafe for OutSink<'a>
impl<'a> Send for OutSink<'a>
impl<'a> Sync for OutSink<'a>
impl<'a> Unpin for OutSink<'a>
impl<'a> UnsafeUnpin for OutSink<'a>
impl<'a> UnwindSafe for OutSink<'a>
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