rocket::mtls::oid::asn1_rs::nom::lib::std::slice

Trait Join

Source
pub trait Join<Separator> {
    type Output;

    // Required method
    fn join(slice: &Self, sep: Separator) -> Self::Output;
}
🔬This is a nightly-only experimental API. (slice_concat_trait)
Available on crate feature mtls only.
Expand description

Helper trait for [T]::join

Required Associated Types§

Source

type Output

🔬This is a nightly-only experimental API. (slice_concat_trait)

The resulting type after concatenation

Required Methods§

Source

fn join(slice: &Self, sep: Separator) -> Self::Output

🔬This is a nightly-only experimental API. (slice_concat_trait)

Implementation of [T]::join

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.

Implementors§

Source§

impl<S> Join<&str> for [S]
where S: Borrow<str>,

Source§

impl<S> Join<&OsStr> for [S]
where S: Borrow<OsStr>,

Source§

impl<T, V> Join<&[T]> for [V]
where T: Clone, V: Borrow<[T]>,

Source§

impl<T, V> Join<&T> for [V]
where T: Clone, V: Borrow<[T]>,