pub trait TryJoin<S, T, A: Allocator>: Sized {
// Required method
fn try_join_in<I>(iter: I, sep: S, alloc: A) -> Result<Self, Error>
where I: IntoIterator<Item = T>;
}
Expand description
Helper trait for joining iterators.
Required Methods§
Sourcefn try_join_in<I>(iter: I, sep: S, alloc: A) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
fn try_join_in<I>(iter: I, sep: S, alloc: A) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
Try to join the given value in the given allocator.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.