Skip to main content

Owner

Trait Owner 

Source
pub unsafe trait Owner<'d, N, F, D>
where F: Drain + 'd,
{ type Report: Report<Event = F::Reported>; // Required method unsafe fn parts( &mut self, ) -> (&mut N, &'d F, D, &mut Self::Report, &mut Option<Source<'d>>, &mut bool); }
Expand description

§Safety

Keep every returned part paired with this engine through native completion and reclamation.

Required Associated Types§

Source

type Report: Report<Event = F::Reported>

Required Methods§

Source

unsafe fn parts( &mut self, ) -> (&mut N, &'d F, D, &mut Self::Report, &mut Option<Source<'d>>, &mut bool)

§Safety

Keep the parts paired and end this loan before application I/O re-entry.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§