pub trait Closable: Send + Sync {
// Required method
fn close(&mut self);
}Expand description
An iterator handle with an idempotent eager close — what the shared
for…of close path calls on any of the three reader kinds.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".