kvarn::prelude::utils::prelude::compact_str::core::prelude::rust_2015

Trait From

1.55.0 · source
pub trait From<T>: Sized {
    // Required method
    fn from(value: T) -> Self;
}
Expand description

Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.

One should always prefer implementing From over Into because implementing From automatically provides one with an implementation of Into thanks to the blanket implementation in the standard library.

Only implement Into when targeting a version prior to Rust 1.41 and converting to a type outside the current crate. From was not able to do these types of conversions in earlier versions because of Rust’s orphaning rules. See Into for more details.

Prefer using Into over using From when specifying trait bounds on a generic function. This way, types that directly implement Into can be used as arguments as well.

The From trait is also very useful when performing error handling. When constructing a function that is capable of failing, the return type will generally be of the form Result<T, E>. From simplifies error handling by allowing a function to return a single error type that encapsulates multiple error types. See the “Examples” section and the book for more details.

Note: This trait must not fail. The From trait is intended for perfect conversions. If the conversion can fail or is not perfect, use TryFrom.

§Generic Implementations

  • From<T> for U implies Into<U> for T
  • From is reflexive, which means that From<T> for T is implemented

§When to implement From

While there’s no technical restrictions on which conversions can be done using a From implementation, the general expectation is that the conversions should typically be restricted as follows:

  • The conversion is infallible: if the conversion can fail, use TryFrom instead; don’t provide a From impl that panics.

  • The conversion is lossless: semantically, it should not lose or discard information. For example, i32: From<u16> exists, where the original value can be recovered using u16: TryFrom<i32>. And String: From<&str> exists, where you can get something equivalent to the original value via Deref. But From cannot be used to convert from u32 to u16, since that cannot succeed in a lossless way. (There’s some wiggle room here for information not considered semantically relevant. For example, Box<[T]>: From<Vec<T>> exists even though it might not preserve capacity, like how two vectors can be equal despite differing capacities.)

  • The conversion is value-preserving: the conceptual kind and meaning of the resulting value is the same, even though the Rust type and technical representation might be different. For example -1_i8 as u8 is lossless, since as casting back can recover the original value, but that conversion is not available via From because -1 and 255 are different conceptual values (despite being identical bit patterns technically). But f32: From<i16> is available because 1_i16 and 1.0_f32 are conceptually the same real number (despite having very different bit patterns technically). String: From<char> is available because they’re both text, but String: From<u32> is not available, since 1 (a number) and "1" (text) are too different. (Converting values to text is instead covered by the Display trait.)

  • The conversion is obvious: it’s the only reasonable conversion between the two types. Otherwise it’s better to have it be a named method or constructor, like how str::as_bytes is a method and how integers have methods like u32::from_ne_bytes, u32::from_le_bytes, and u32::from_be_bytes, none of which are From implementations. Whereas there’s only one reasonable way to wrap an Ipv6Addr into an IpAddr, thus IpAddr: From<Ipv6Addr> exists.

§Examples

String implements From<&str>:

An explicit conversion from a &str to a String is done as follows:

let string = "hello".to_string();
let other_string = String::from("hello");

assert_eq!(string, other_string);

While performing error handling it is often useful to implement From for your own error type. By converting underlying error types to our own custom error type that encapsulates the underlying error type, we can return a single error type without losing information on the underlying cause. The ‘?’ operator automatically converts the underlying error type to our custom error type with From::from.

use std::fs;
use std::io;
use std::num;

enum CliError {
    IoError(io::Error),
    ParseError(num::ParseIntError),
}

impl From<io::Error> for CliError {
    fn from(error: io::Error) -> Self {
        CliError::IoError(error)
    }
}

impl From<num::ParseIntError> for CliError {
    fn from(error: num::ParseIntError) -> Self {
        CliError::ParseError(error)
    }
}

fn open_and_parse_file(file_name: &str) -> Result<i32, CliError> {
    let mut contents = fs::read_to_string(&file_name)?;
    let num: i32 = contents.trim().parse()?;
    Ok(num)
}

Required Methods§

1.55.0 · source

fn from(value: T) -> Self

Converts to this type from the input type.

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§

§

impl From<&'static str> for Bytes

§

impl From<&'static Tls12CipherSuite> for SupportedCipherSuite

§

impl From<&'static Tls13CipherSuite> for SupportedCipherSuite

§

impl From<&'static [u8]> for Bytes

1.21.0 · source§

impl From<&str> for kvarn::prelude::Arc<str>

Available on non-no_global_oom_handling only.
1.17.0 · source§

impl From<&str> for Box<str>

Available on non-no_global_oom_handling only.
1.21.0 · source§

impl From<&str> for Rc<str>

Available on non-no_global_oom_handling only.
1.0.0 · source§

impl From<&str> for String

Available on non-no_global_oom_handling only.
1.0.0 · source§

impl From<&str> for Vec<u8>

Available on non-no_global_oom_handling only.
§

impl From<&str> for Arc<str>

§

impl From<&str> for Utf8Bytes

§

impl From<&Formatter<'_>> for FormatterOptions

1.24.0 · source§

impl From<&Path> for kvarn::prelude::Arc<Path>

1.17.0 · source§

impl From<&Path> for Box<Path>

1.24.0 · source§

impl From<&Path> for Rc<Path>

source§

impl From<&Uri> for PathQuery

Converts a Uri using one allocation.

1.24.0 · source§

impl From<&CStr> for kvarn::prelude::Arc<CStr>

Available on target_has_atomic="ptr" only.
1.17.0 · source§

impl From<&CStr> for Box<CStr>

1.7.0 · source§

impl From<&CStr> for CString

1.24.0 · source§

impl From<&CStr> for Rc<CStr>

1.35.0 · source§

impl From<&String> for String

Available on non-no_global_oom_handling only.
§

impl From<&String> for Utf8Bytes

source§

impl From<&StreamResult> for Result<MZStatus, MZError>

1.24.0 · source§

impl From<&OsStr> for kvarn::prelude::Arc<OsStr>

1.17.0 · source§

impl From<&OsStr> for Box<OsStr>

1.24.0 · source§

impl From<&OsStr> for Rc<OsStr>

§

impl From<&BorrowedFormatItem<'_>> for OwnedFormatItem

source§

impl From<&ChaCha8Rng> for ChaCha8Rng

source§

impl From<&ChaCha12Rng> for ChaCha12Rng

source§

impl From<&ChaCha20Rng> for ChaCha20Rng

§

impl From<&StreamResult> for Result<MZStatus, MZError>

§

impl From<&[u8; 12]> for Nonce

§

impl From<&[u8; 16]> for Nonce

§

impl From<&[u8]> for PrefixedPayload

§

impl From<&[u8]> for SharedSecret

§

impl From<&[u8]> for Tag

§

impl From<&[u32; 3]> for Nonce

§

impl From<&[BigEndian<u32>; 3]> for Nonce

§

impl From<&[LittleEndian<u32>; 3]> for Nonce

1.44.0 · source§

impl From<&mut str> for String

Available on non-no_global_oom_handling only.
§

impl From<&mut Formatter<'_>> for FormatterOptions

source§

impl From<Error> for kvarn::prelude::utils::prelude::io::Error

1.45.0 · source§

impl From<Cow<'_, str>> for Box<str>

Available on non-no_global_oom_handling only.
1.45.0 · source§

impl From<Cow<'_, Path>> for Box<Path>

1.45.0 · source§

impl From<Cow<'_, CStr>> for Box<CStr>

1.45.0 · source§

impl From<Cow<'_, OsStr>> for Box<OsStr>

§

impl From<IpAddr> for IpAddr

Available on crate feature std only.
§

impl From<IpAddr> for ServerName<'_>

Available on crate feature std only.
source§

impl From<SocketAddr> for socket2::sockaddr::SockAddr

§

impl From<SocketAddr> for SockAddr

source§

impl From<Error> for kvarn::application::Error

source§

impl From<Error> for kvarn::prelude::utils::prelude::io::Error

1.14.0 · source§

impl From<ErrorKind> for kvarn::prelude::utils::prelude::io::Error

Intended for use for errors not exposed to the user, where allocating onto the heap (for normal construction via Error::new) is too costly.

source§

impl From<AsciiChar> for char

source§

impl From<AsciiChar> for u8

source§

impl From<AsciiChar> for u16

source§

impl From<AsciiChar> for u32

source§

impl From<AsciiChar> for u64

source§

impl From<AsciiChar> for u128

1.36.0 · source§

impl From<Infallible> for TryFromSliceError

1.34.0 · source§

impl From<Infallible> for TryFromIntError

§

impl From<Infallible> for Error

§

impl From<Option<Level>> for LevelFilter

source§

impl From<TryReserveErrorKind> for TryReserveError

1.68.0 · source§

impl From<bool> for f32

1.68.0 · source§

impl From<bool> for f64

1.28.0 · source§

impl From<bool> for i8

1.28.0 · source§

impl From<bool> for i16

1.28.0 · source§

impl From<bool> for i32

1.28.0 · source§

impl From<bool> for i64

1.28.0 · source§

impl From<bool> for i128

1.28.0 · source§

impl From<bool> for isize

1.28.0 · source§

impl From<bool> for u8

1.28.0 · source§

impl From<bool> for u16

1.28.0 · source§

impl From<bool> for u32

1.28.0 · source§

impl From<bool> for u64

1.28.0 · source§

impl From<bool> for u128

1.28.0 · source§

impl From<bool> for usize

1.24.0 · source§

impl From<bool> for AtomicBool

Available on target_has_atomic_load_store="8" only.
1.13.0 · source§

impl From<char> for u32

1.51.0 · source§

impl From<char> for u64

1.51.0 · source§

impl From<char> for u128

1.46.0 · source§

impl From<char> for String

Available on non-no_global_oom_handling only.
1.6.0 · source§

impl From<f16> for f64

1.6.0 · source§

impl From<f16> for f128

1.6.0 · source§

impl From<f32> for f64

1.6.0 · source§

impl From<f32> for f128

1.6.0 · source§

impl From<f64> for f128

1.6.0 · source§

impl From<i8> for f32

1.6.0 · source§

impl From<i8> for f64

1.5.0 · source§

impl From<i8> for i16

1.5.0 · source§

impl From<i8> for i32

1.5.0 · source§

impl From<i8> for i64

1.26.0 · source§

impl From<i8> for i128

1.5.0 · source§

impl From<i8> for isize

1.34.0 · source§

impl From<i8> for AtomicI8

1.6.0 · source§

impl From<i16> for f32

1.6.0 · source§

impl From<i16> for f64

1.5.0 · source§

impl From<i16> for i32

1.5.0 · source§

impl From<i16> for i64

1.26.0 · source§

impl From<i16> for i128

1.26.0 · source§

impl From<i16> for isize

§

impl From<i16> for HeaderValue

1.34.0 · source§

impl From<i16> for AtomicI16

1.6.0 · source§

impl From<i32> for f64

1.5.0 · source§

impl From<i32> for i64

1.26.0 · source§

impl From<i32> for i128

§

impl From<i32> for HeaderValue

1.34.0 · source§

impl From<i32> for AtomicI32

source§

impl From<i32> for socket2::Domain

source§

impl From<i32> for socket2::Protocol

source§

impl From<i32> for socket2::Type

§

impl From<i32> for Domain

§

impl From<i32> for Protocol

§

impl From<i32> for Type

1.26.0 · source§

impl From<i64> for i128

§

impl From<i64> for HeaderValue

1.34.0 · source§

impl From<i64> for AtomicI64

§

impl From<isize> for HeaderValue

1.23.0 · source§

impl From<isize> for AtomicIsize

1.34.0 · source§

impl From<!> for Infallible

source§

impl From<!> for TryFromIntError

1.13.0 · source§

impl From<u8> for char

Maps a byte in 0x00..=0xFF to a char whose code point has the same value, in U+0000..=U+00FF.

Unicode is designed such that this effectively decodes bytes with the character encoding that IANA calls ISO-8859-1. This encoding is compatible with ASCII.

Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hyphen), which leaves some “blanks”, byte values that are not assigned to any character. ISO-8859-1 (the IANA one) assigns them to the C0 and C1 control codes.

Note that this is also different from Windows-1252 a.k.a. code page 1252, which is a superset ISO/IEC 8859-1 that assigns some (not all!) blanks to punctuation and various Latin characters.

To confuse things further, on the Web ascii, iso-8859-1, and windows-1252 are all aliases for a superset of Windows-1252 that fills the remaining blanks with corresponding C0 and C1 control codes.

1.6.0 · source§

impl From<u8> for f32

1.6.0 · source§

impl From<u8> for f64

1.5.0 · source§

impl From<u8> for i16

1.5.0 · source§

impl From<u8> for i32

1.5.0 · source§

impl From<u8> for i64

1.26.0 · source§

impl From<u8> for i128

1.26.0 · source§

impl From<u8> for isize

1.5.0 · source§

impl From<u8> for u16

1.5.0 · source§

impl From<u8> for u32

1.5.0 · source§

impl From<u8> for u64

1.26.0 · source§

impl From<u8> for u128

1.5.0 · source§

impl From<u8> for usize

1.34.0 · source§

impl From<u8> for AtomicU8

1.61.0 · source§

impl From<u8> for ExitCode

source§

impl From<u8> for Choice

§

impl From<u8> for AlertDescription

§

impl From<u8> for ContentType

§

impl From<u8> for HandshakeType

§

impl From<u8> for HashAlgorithm

§

impl From<u8> for OpCode

§

impl From<u8> for SignatureAlgorithm

§

impl From<u8> for VarInt

1.6.0 · source§

impl From<u16> for f32

1.6.0 · source§

impl From<u16> for f64

1.5.0 · source§

impl From<u16> for i32

1.5.0 · source§

impl From<u16> for i64

1.26.0 · source§

impl From<u16> for i128

1.5.0 · source§

impl From<u16> for u32

1.5.0 · source§

impl From<u16> for u64

1.26.0 · source§

impl From<u16> for u128

1.26.0 · source§

impl From<u16> for usize

§

impl From<u16> for HeaderValue

1.34.0 · source§

impl From<u16> for AtomicU16

§

impl From<u16> for CertificateCompressionAlgorithm

§

impl From<u16> for CipherSuite

§

impl From<u16> for CloseCode

§

impl From<u16> for NamedGroup

§

impl From<u16> for ProtocolVersion

§

impl From<u16> for SignatureScheme

§

impl From<u16> for VarInt

1.6.0 · source§

impl From<u32> for f64

1.5.0 · source§

impl From<u32> for i64

1.26.0 · source§

impl From<u32> for i128

1.5.0 · source§

impl From<u32> for u64

1.26.0 · source§

impl From<u32> for u128

§

impl From<u32> for HeaderValue

1.1.0 · source§

impl From<u32> for kvarn::prelude::utils::prelude::net::Ipv4Addr

1.34.0 · source§

impl From<u32> for AtomicU32

§

impl From<u32> for Reason

§

impl From<u32> for VarInt

1.26.0 · source§

impl From<u64> for i128

1.26.0 · source§

impl From<u64> for u128

§

impl From<u64> for HeaderValue

1.34.0 · source§

impl From<u64> for AtomicU64

1.26.0 · source§

impl From<u128> for kvarn::prelude::utils::prelude::net::Ipv6Addr

§

impl From<()> for KeyRejected

§

impl From<()> for Unspecified

§

impl From<usize> for HeaderValue

1.23.0 · source§

impl From<usize> for AtomicUsize

source§

impl From<Rule> for ComputedRule

§

impl From<OffsetDateTime> for SystemTime

Available on crate feature std only.
1.62.0 · source§

impl From<Arc<str>> for kvarn::prelude::Arc<[u8]>

source§

impl From<Bytes> for BytesCow

source§

impl From<Bytes> for ByteBody

§

impl From<Bytes> for BytesMut

§

impl From<Bytes> for Vec<u8>

source§

impl From<BytesMut> for BytesCow

§

impl From<BytesMut> for Bytes

source§

impl From<BytesMut> for WriteableBytes

§

impl From<BytesMut> for Vec<u8>

§

impl From<CompactString> for Cow<'_, str>

§

impl From<CompactString> for kvarn::prelude::Arc<str>

Available on target_has_atomic="ptr" only.
§

impl From<CompactString> for PathBuf

Available on crate feature std only.
§

impl From<CompactString> for Box<str>

§

impl From<CompactString> for Box<dyn Error + Send + Sync>

Available on crate feature std only.
§

impl From<CompactString> for Box<dyn Error>

Available on crate feature std only.
§

impl From<CompactString> for Rc<str>

§

impl From<CompactString> for String

§

impl From<CompactString> for Vec<u8>

§

impl From<CompactString> for OsString

Available on crate feature std only.
§

impl From<Duration> for Timespec

§

impl From<HeaderName> for HeaderValue

§

impl From<Instant> for Instant

§

impl From<Instant> for Instant

1.24.0 · source§

impl From<PathBuf> for kvarn::prelude::Arc<Path>

1.20.0 · source§

impl From<PathBuf> for Box<Path>

1.24.0 · source§

impl From<PathBuf> for Rc<Path>

1.14.0 · source§

impl From<PathBuf> for OsString

§

impl From<StatusCode> for u16

§

impl From<Uri> for Builder

§

impl From<Uri> for Parts

Convert a Uri into Parts

§

impl From<Error> for ToCompactStringError

§

impl From<InvalidHeaderName> for Error

§

impl From<InvalidHeaderValue> for Error

§

impl From<MaxSizeReached> for Error

source§

impl From<Error> for kvarn::application::Error

source§

impl From<Error> for kvarn::encryption::Error

source§

impl From<Error> for CertificateError

Available on crate feature https only.
§

impl From<Error> for AnyDelimiterCodecError

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Format

§

impl From<Error> for LinesCodecError

1.74.0 · source§

impl From<Stderr> for Stdio

1.74.0 · source§

impl From<Stdout> for Stdio

1.16.0 · source§

impl From<Ipv4Addr> for kvarn::prelude::IpAddr

1.1.0 · source§

impl From<Ipv4Addr> for u32

§

impl From<Ipv4Addr> for IpAddr

Available on crate feature std only.
§

impl From<Ipv4Addr> for Ipv4Addr

Available on crate feature std only.
§

impl From<Ipv4Addr> for ServerName<'_>

Available on crate feature std only.
1.16.0 · source§

impl From<Ipv6Addr> for kvarn::prelude::IpAddr

1.26.0 · source§

impl From<Ipv6Addr> for u128

§

impl From<Ipv6Addr> for IpAddr

Available on crate feature std only.
§

impl From<Ipv6Addr> for Ipv6Addr

Available on crate feature std only.
§

impl From<Ipv6Addr> for ServerName<'_>

Available on crate feature std only.
1.16.0 · source§

impl From<SocketAddrV4> for SocketAddr

source§

impl From<SocketAddrV4> for socket2::sockaddr::SockAddr

§

impl From<SocketAddrV4> for SockAddr

1.16.0 · source§

impl From<SocketAddrV6> for SocketAddr

source§

impl From<SocketAddrV6> for socket2::sockaddr::SockAddr

§

impl From<SocketAddrV6> for SockAddr

1.63.0 · source§

impl From<TcpListener> for OwnedFd

source§

impl From<TcpListener> for socket2::socket::Socket

§

impl From<TcpListener> for Socket

1.63.0 · source§

impl From<TcpStream> for OwnedFd

source§

impl From<TcpStream> for socket2::socket::Socket

§

impl From<TcpStream> for Socket

1.63.0 · source§

impl From<UdpSocket> for OwnedFd

source§

impl From<UdpSocket> for socket2::socket::Socket

§

impl From<UdpSocket> for Socket

§

impl From<Utf8Error> for Error

§

impl From<Authority> for Uri

Convert an Authority into a Uri.

§

impl From<InvalidUri> for Error

§

impl From<InvalidUriParts> for Error

§

impl From<PathAndQuery> for Uri

Convert a PathAndQuery into a Uri.

§

impl From<ReserveError> for ToCompactStringError

source§

impl From<LayoutError> for TryReserveErrorKind

§

impl From<LayoutError> for CollectionAllocErr

source§

impl From<__m128> for Simd<f32, 4>

source§

impl From<__m128d> for Simd<f64, 2>

source§

impl From<__m128i> for Simd<i8, 16>

source§

impl From<__m128i> for Simd<i16, 8>

source§

impl From<__m128i> for Simd<i32, 4>

source§

impl From<__m128i> for Simd<i64, 2>

source§

impl From<__m128i> for Simd<isize, 2>

source§

impl From<__m128i> for Simd<u8, 16>

source§

impl From<__m128i> for Simd<u16, 8>

source§

impl From<__m128i> for Simd<u32, 4>

source§

impl From<__m128i> for Simd<u64, 2>

source§

impl From<__m128i> for Simd<usize, 2>

source§

impl From<__m256> for Simd<f32, 8>

source§

impl From<__m256d> for Simd<f64, 4>

source§

impl From<__m256i> for Simd<i8, 32>

source§

impl From<__m256i> for Simd<i16, 16>

source§

impl From<__m256i> for Simd<i32, 8>

source§

impl From<__m256i> for Simd<i64, 4>

source§

impl From<__m256i> for Simd<isize, 4>

source§

impl From<__m256i> for Simd<u8, 32>

source§

impl From<__m256i> for Simd<u16, 16>

source§

impl From<__m256i> for Simd<u32, 8>

source§

impl From<__m256i> for Simd<u64, 4>

source§

impl From<__m256i> for Simd<usize, 4>

source§

impl From<__m512> for Simd<f32, 16>

source§

impl From<__m512d> for Simd<f64, 8>

source§

impl From<__m512i> for Simd<i8, 64>

source§

impl From<__m512i> for Simd<i16, 32>

source§

impl From<__m512i> for Simd<i32, 16>

source§

impl From<__m512i> for Simd<i64, 8>

source§

impl From<__m512i> for Simd<isize, 8>

source§

impl From<__m512i> for Simd<u8, 64>

source§

impl From<__m512i> for Simd<u16, 32>

source§

impl From<__m512i> for Simd<u32, 16>

source§

impl From<__m512i> for Simd<u64, 8>

source§

impl From<__m512i> for Simd<usize, 8>

§

impl From<TryFromSliceError> for Unspecified

§

impl From<TryFromSliceError> for Unspecified

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i16>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<isize>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<isize>

1.41.0 · source§

impl From<NonZero<i32>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<i32>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<i64>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i16>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<isize>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u16>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u32>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u64>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u128>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<usize>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<u32>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<u64>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<u128>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<usize>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<u64>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<u128>

source§

impl From<NonZero<u32>> for getrandom::error::Error

source§

impl From<NonZero<u32>> for rand_core::error::Error

1.41.0 · source§

impl From<NonZero<u64>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u64>> for NonZero<u128>

§

impl From<TryFromIntError> for ConfigError

§

impl From<TryFromIntError> for KeyRejected

§

impl From<TryFromIntError> for Unspecified

source§

impl From<Alignment> for usize

source§

impl From<Alignment> for NonZero<usize>

source§

impl From<Simd<f32, 4>> for __m128

source§

impl From<Simd<f32, 8>> for __m256

source§

impl From<Simd<f32, 16>> for __m512

source§

impl From<Simd<f64, 2>> for __m128d

source§

impl From<Simd<f64, 4>> for __m256d

source§

impl From<Simd<f64, 8>> for __m512d

source§

impl From<Simd<i8, 16>> for __m128i

source§

impl From<Simd<i8, 32>> for __m256i

source§

impl From<Simd<i8, 64>> for __m512i

source§

impl From<Simd<i16, 8>> for __m128i

source§

impl From<Simd<i16, 16>> for __m256i

source§

impl From<Simd<i16, 32>> for __m512i

source§

impl From<Simd<i32, 4>> for __m128i

source§

impl From<Simd<i32, 8>> for __m256i

source§

impl From<Simd<i32, 16>> for __m512i

source§

impl From<Simd<i64, 2>> for __m128i

source§

impl From<Simd<i64, 4>> for __m256i

source§

impl From<Simd<i64, 8>> for __m512i

source§

impl From<Simd<isize, 2>> for __m128i

source§

impl From<Simd<isize, 4>> for __m256i

source§

impl From<Simd<isize, 8>> for __m512i

source§

impl From<Simd<u8, 16>> for __m128i

source§

impl From<Simd<u8, 32>> for __m256i

source§

impl From<Simd<u8, 64>> for __m512i

source§

impl From<Simd<u16, 8>> for __m128i

source§

impl From<Simd<u16, 16>> for __m256i

source§

impl From<Simd<u16, 32>> for __m512i

source§

impl From<Simd<u32, 4>> for __m128i

source§

impl From<Simd<u32, 8>> for __m256i

source§

impl From<Simd<u32, 16>> for __m512i

source§

impl From<Simd<u64, 2>> for __m128i

source§

impl From<Simd<u64, 4>> for __m256i

source§

impl From<Simd<u64, 8>> for __m512i

source§

impl From<Simd<usize, 2>> for __m128i

source§

impl From<Simd<usize, 4>> for __m256i

source§

impl From<Simd<usize, 8>> for __m512i

§

impl From<EndOfInput> for Unspecified

§

impl From<Box<str>> for CompactString

1.18.0 · source§

impl From<Box<str>> for String

1.18.0 · source§

impl From<Box<Path>> for PathBuf

1.18.0 · source§

impl From<Box<CStr>> for CString

1.18.0 · source§

impl From<Box<OsStr>> for OsString

§

impl From<Box<[u8]>> for Bytes

1.78.0 · source§

impl From<TryReserveError> for kvarn::prelude::utils::prelude::io::Error

1.24.0 · source§

impl From<CString> for kvarn::prelude::Arc<CStr>

Available on target_has_atomic="ptr" only.
1.20.0 · source§

impl From<CString> for Box<CStr>

1.24.0 · source§

impl From<CString> for Rc<CStr>

1.7.0 · source§

impl From<CString> for Vec<u8>

1.0.0 · source§

impl From<NulError> for kvarn::prelude::utils::prelude::io::Error

1.62.0 · source§

impl From<Rc<str>> for Rc<[u8]>

§

impl From<FromUtf8Error> for Error

1.21.0 · source§

impl From<String> for kvarn::prelude::Arc<str>

Available on non-no_global_oom_handling only.
§

impl From<String> for Bytes

§

impl From<String> for CompactString

1.0.0 · source§

impl From<String> for PathBuf

1.20.0 · source§

impl From<String> for Box<str>

Available on non-no_global_oom_handling only.
1.21.0 · source§

impl From<String> for Rc<str>

Available on non-no_global_oom_handling only.
1.14.0 · source§

impl From<String> for Vec<u8>

1.0.0 · source§

impl From<String> for OsString

§

impl From<String> for Arc<str>

§

impl From<String> for Message

§

impl From<String> for Utf8Bytes

§

impl From<Vec<u8>> for Bytes

§

impl From<Vec<u8>> for Der<'static>

Available on crate feature alloc only.
§

impl From<Vec<u8>> for DistinguishedName

§

impl From<Vec<u8>> for HpkePrivateKey

§

impl From<Vec<u8>> for Message

source§

impl From<Vec<u32>> for IndexVec

source§

impl From<Vec<usize>> for IndexVec

1.43.0 · source§

impl From<Vec<NonZero<u8>>> for CString

§

impl From<Vec<BorrowedFormatItem<'_>>> for OwnedFormatItem

§

impl From<Vec<OwnedFormatItem>> for OwnedFormatItem

source§

impl From<StreamResult> for Result<MZStatus, MZError>

1.24.0 · source§

impl From<OsString> for kvarn::prelude::Arc<OsStr>

1.0.0 · source§

impl From<OsString> for PathBuf

1.20.0 · source§

impl From<OsString> for Box<OsStr>

1.24.0 · source§

impl From<OsString> for Rc<OsStr>

1.63.0 · source§

impl From<File> for OwnedFd

1.20.0 · source§

impl From<File> for Stdio

§

impl From<File> for File

§

impl From<OpenOptions> for OpenOptions

1.63.0 · source§

impl From<OwnedFd> for TcpListener

1.63.0 · source§

impl From<OwnedFd> for TcpStream

1.63.0 · source§

impl From<OwnedFd> for UdpSocket

1.63.0 · source§

impl From<OwnedFd> for std::fs::File

source§

impl From<OwnedFd> for PidFd

1.63.0 · source§

impl From<OwnedFd> for UnixDatagram

1.63.0 · source§

impl From<OwnedFd> for UnixListener

1.63.0 · source§

impl From<OwnedFd> for UnixStream

source§

impl From<OwnedFd> for PipeReader

source§

impl From<OwnedFd> for PipeWriter

1.74.0 · source§

impl From<OwnedFd> for ChildStderr

Creates a ChildStderr from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.74.0 · source§

impl From<OwnedFd> for ChildStdin

Creates a ChildStdin from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.74.0 · source§

impl From<OwnedFd> for ChildStdout

Creates a ChildStdout from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.63.0 · source§

impl From<OwnedFd> for Stdio

§

impl From<OwnedFd> for Inotify

§

impl From<OwnedFd> for Socket

source§

impl From<PidFd> for OwnedFd

1.63.0 · source§

impl From<UnixDatagram> for OwnedFd

source§

impl From<UnixDatagram> for socket2::socket::Socket

§

impl From<UnixDatagram> for Socket

1.63.0 · source§

impl From<UnixListener> for OwnedFd

source§

impl From<UnixListener> for socket2::socket::Socket

§

impl From<UnixListener> for Socket

1.63.0 · source§

impl From<UnixStream> for OwnedFd

source§

impl From<UnixStream> for socket2::socket::Socket

§

impl From<UnixStream> for Socket

source§

impl From<PipeReader> for OwnedFd

source§

impl From<PipeReader> for Stdio

source§

impl From<PipeWriter> for OwnedFd

source§

impl From<PipeWriter> for Stdio

1.63.0 · source§

impl From<ChildStderr> for OwnedFd

1.20.0 · source§

impl From<ChildStderr> for Stdio

§

impl From<ChildStderr> for Receiver

Available on crate feature os-ext only.

§Notes

The underlying pipe is not set to non-blocking.

1.63.0 · source§

impl From<ChildStdin> for OwnedFd

1.20.0 · source§

impl From<ChildStdin> for Stdio

§

impl From<ChildStdin> for Sender

Available on crate feature os-ext only.

§Notes

The underlying pipe is not set to non-blocking.

1.63.0 · source§

impl From<ChildStdout> for OwnedFd

1.20.0 · source§

impl From<ChildStdout> for Stdio

§

impl From<ChildStdout> for Receiver

Available on crate feature os-ext only.

§Notes

The underlying pipe is not set to non-blocking.

source§

impl From<ExitStatusError> for ExitStatus

1.24.0 · source§

impl From<RecvError> for std::sync::mpsc::RecvTimeoutError

1.24.0 · source§

impl From<RecvError> for std::sync::mpsc::TryRecvError

§

impl From<RecvError> for Error

§

impl From<SystemTime> for OffsetDateTime

Available on crate feature std only.
§

impl From<SystemTime> for FileTime

§

impl From<SystemTimeError> for Error

Available on crate feature std only.
source§

impl From<CompressError> for kvarn::prelude::utils::prelude::io::Error

source§

impl From<DecompressError> for kvarn::prelude::utils::prelude::io::Error

source§

impl From<Error> for kvarn::prelude::utils::prelude::io::Error

source§

impl From<Error> for rand_core::error::Error

Available on crate feature getrandom only.
source§

impl From<Socket> for TcpListener

source§

impl From<Socket> for TcpStream

source§

impl From<Socket> for UdpSocket

source§

impl From<Socket> for UnixDatagram

source§

impl From<Socket> for UnixListener

source§

impl From<Socket> for UnixStream

source§

impl From<Domain> for i32

source§

impl From<Protocol> for i32

source§

impl From<Type> for i32

source§

impl From<Choice> for bool

source§

impl From<Braced> for Uuid

source§

impl From<Hyphenated> for Uuid

source§

impl From<Simple> for Uuid

source§

impl From<Urn> for Uuid

source§

impl From<Uuid> for String

Available on crate feature std only.
source§

impl From<Uuid> for Vec<u8>

Available on crate feature std only.
source§

impl From<Uuid> for Braced

source§

impl From<Uuid> for Hyphenated

source§

impl From<Uuid> for Simple

source§

impl From<Uuid> for Urn

source§

impl From<ChaCha8Core> for ChaCha8Rng

source§

impl From<ChaCha12Core> for ChaCha12Rng

source§

impl From<ChaCha20Core> for ChaCha20Rng

source§

impl From<Error> for kvarn::prelude::utils::prelude::io::Error

Available on crate feature std only.
§

impl From<AeadCtx> for UnboundKey

§

impl From<AeadDirection> for u32

§

impl From<AlertDescription> for u8

§

impl From<AlertLevel> for u8

§

impl From<BigEndian<u32>> for u32

§

impl From<BigEndian<u32>> for u32

§

impl From<BigEndian<u32>> for Nonce

§

impl From<BigEndian<u32>> for [u8; 4]

§

impl From<BigEndian<u64>> for u64

§

impl From<BorrowedFormatItem<'_>> for OwnedFormatItem

§

impl From<ByteStr> for Bytes

§

impl From<CapacityError> for Error

§

impl From<CertRevocationListError> for Error

§

impl From<CertRevocationListError> for VerifierBuilderError

§

impl From<CertificateCompressionAlgorithm> for u16

§

impl From<CertificateError> for AlertDescription

§

impl From<CertificateError> for Error

§

impl From<CertificateStatusType> for u8

§

impl From<CipherSuite> for u16

§

impl From<ClientCertificateType> for u8

§

impl From<ClientConnection> for Connection

§

impl From<ClientConnection> for Connection

§

impl From<Close> for ConnectionError

§

impl From<CloseCode> for u16

§

impl From<ClosedStream> for kvarn::prelude::utils::prelude::io::Error

§

impl From<ClosedStream> for SendStreamError

§

impl From<ClosedStream> for WriteError

§

impl From<Code> for u64

§

impl From<Code> for u64

§

impl From<Code> for Error

§

impl From<Code> for Error

source§

impl From<CompactDirection> for Direction

§

impl From<Component> for BorrowedFormatItem<'_>

§

impl From<Component> for Component

§

impl From<Component> for OwnedFormatItem

§

impl From<ComponentRange> for Error

§

impl From<ComponentRange> for TryFromParsed

§

impl From<Compression> for u8

§

impl From<ConnectionCommon<ServerConnectionData>> for AcceptedAlert

§

impl From<ConnectionError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<ConnectionError> for ConnectionError

§

impl From<ConnectionError> for ReadError

§

impl From<ConnectionError> for ResetError

§

impl From<ConnectionError> for SendDatagramError

§

impl From<ConnectionError> for StoppedError

§

impl From<ConnectionError> for WriteError

§

impl From<ConnectionHandle> for usize

§

impl From<ContentType> for u8

§

impl From<ConversionRange> for Error

§

impl From<Current> for Option<Id>

§

impl From<Custom> for Bytes

§

impl From<DataFlags> for u8

§

impl From<DecodeError> for DecodeSliceError

§

impl From<DecryptionContext> for EncryptionContext

§

impl From<DifferentVariant> for Error

§

impl From<Domain> for i32

§

impl From<ECCurveType> for u8

§

impl From<ECPointFormat> for u8

§

impl From<EchClientHelloType> for u8

§

impl From<EchConfig> for EchMode

§

impl From<EchGreaseConfig> for EchMode

§

impl From<EchVersion> for u16

§

impl From<Elapsed> for kvarn::prelude::utils::prelude::io::Error

§

impl From<EncryptError> for EarlyDataError

§

impl From<EncryptedClientHelloError> for Error

§

impl From<EncryptionContext> for DecryptionContext

§

impl From<Entry32> for Entry

§

impl From<Entry> for Entry128

source§

impl From<Error> for kvarn::application::Error

Available on crate feature http2 only.
source§

impl From<Error> for kvarn::application::Error

Available on crate feature http3 only.
source§

impl From<Error> for kvarn::encryption::Error

Available on crate feature https only.
source§

impl From<Error> for kvarn::prelude::utils::parse::Error

§

impl From<Error> for ControlFlow<Error, Error>

§

impl From<Error> for kvarn::prelude::utils::prelude::io::Error

§

impl From<Error> for kvarn::prelude::utils::prelude::io::Error

Available on crate feature std only.
§

impl From<Error> for Box<dyn Error + Send>

§

impl From<Error> for ConnectionClose

§

impl From<Error> for ConnectionError

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for InvalidFormatDescription

§

impl From<ErrorKind> for InvalidUri

§

impl From<ErrorKind> for InvalidUriParts

§

impl From<ExtensionType> for u16

§

impl From<Format> for Error

§

impl From<FrameStreamError> for Error

§

impl From<GetRandomFailed> for Error

source§

impl From<GzHeaderParser> for GzHeader

§

impl From<HandshakeType> for u8

§

impl From<HashAlgorithm> for u8

§

impl From<HeaderError> for Error

§

impl From<HeaderField> for String

§

impl From<HeadersFlag> for u8

§

impl From<HeartbeatMessageType> for u8

§

impl From<HeartbeatMode> for u8

§

impl From<HourBase> for bool

§

impl From<HpkeAead> for u16

§

impl From<HpkeKdf> for u16

§

impl From<HpkeKem> for u16

§

impl From<IllegalOrderedRead> for ReadableError

§

impl From<InconsistentKeys> for Error

§

impl From<IndeterminateOffset> for Error

§

impl From<Inotify> for OwnedFd

§

impl From<Instant> for kvarn::prelude::Instant

§

impl From<Instant> for kvarn::prelude::Instant

§

impl From<InsufficientSizeError> for EncodeError

§

impl From<InsufficientSizeError> for EncryptError

§

impl From<InvalidFormatDescription> for Error

§

impl From<InvalidFrame> for Error

§

impl From<InvalidMessage> for Error

§

impl From<InvalidMethod> for Error

§

impl From<InvalidStatusCode> for Error

§

impl From<InvalidStreamId> for Error

§

impl From<InvalidVariant> for Error

§

impl From<IpAddr> for kvarn::prelude::IpAddr

Available on crate feature std only.
§

impl From<IpAddr> for ServerName<'_>

§

impl From<Ipv4Addr> for kvarn::prelude::utils::prelude::net::Ipv4Addr

Available on crate feature std only.
§

impl From<Ipv4Addr> for ServerName<'_>

§

impl From<Ipv6Addr> for kvarn::prelude::utils::prelude::net::Ipv6Addr

Available on crate feature std only.
§

impl From<Ipv6Addr> for ServerName<'_>

§

impl From<Item<'_>> for OwnedFormatItem

§

impl From<JoinError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<KeyRejected> for Unspecified

§

impl From<KeyRejected> for Unspecified

§

impl From<KeyUpdateRequest> for u8

§

impl From<Kind> for Error

§

impl From<LengthMeasurement> for usize

§

impl From<Level> for LevelFilter

§

impl From<LevelFilter> for Option<Level>

§

impl From<LittleEndian<u32>> for u32

§

impl From<LittleEndian<u64>> for u64

§

impl From<LongHeaderType> for u8

§

impl From<MZFlush> for TDEFLFlush

§

impl From<Message> for Bytes

§

impl From<Message<'_>> for PlainMessage

§

impl From<Month> for u8

§

impl From<MonthCaseSensitive> for bool

§

impl From<MonthRepr> for MonthRepr

§

impl From<NamedCurve> for u16

§

impl From<NamedGroup> for u16

§

impl From<Okm<'_, &'static Algorithm>> for HeaderProtectionKey

§

impl From<Okm<'_, &'static Algorithm>> for HeaderProtectionKey

§

impl From<Okm<'_, &'static Algorithm>> for UnboundCipherKey

§

impl From<Okm<'_, &'static Algorithm>> for UnboundKey

§

impl From<Okm<'_, &'static Algorithm>> for UnboundKey

§

impl From<Okm<'_, Algorithm>> for Key

§

impl From<Okm<'_, Algorithm>> for Key

§

impl From<Okm<'_, Algorithm>> for Prk

§

impl From<Okm<'_, Algorithm>> for Prk

§

impl From<Okm<'_, Algorithm>> for Salt

§

impl From<Okm<'_, Algorithm>> for Salt

§

impl From<OpCode> for u8

§

impl From<OtherError> for Error

§

impl From<OwnedCertRevocationList> for CertRevocationList<'_>

Available on crate feature alloc only.
§

impl From<PSKKeyExchangeMode> for u8

§

impl From<Padding> for Padding

§

impl From<Parse> for Error

§

impl From<ParseFromDescription> for Error

§

impl From<ParseFromDescription> for Parse

§

impl From<PeerIncompatible> for Error

§

impl From<PeerMisbehaved> for Error

§

impl From<PeriodCase> for bool

§

impl From<PeriodCaseSensitive> for bool

§

impl From<Protocol> for i32

§

impl From<ProtocolError> for Error

§

impl From<ProtocolVersion> for u16

§

impl From<PushPromiseFlag> for u8

§

impl From<ReadError> for kvarn::prelude::Arc<dyn Error>

§

impl From<ReadError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<ReadError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<ReadError> for ReadError

§

impl From<ReadError> for ReadExactError

§

impl From<ReadError> for ReadToEndError

§

impl From<ReadableError> for ReadError

§

impl From<Reason> for u32

§

impl From<Reason> for Error

§

impl From<RecvError> for RecvTimeoutError

§

impl From<RecvError> for TryRecvError

§

impl From<ResetError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<ResetError> for ReadError

§

impl From<Result> for Result<(), Unspecified>

§

impl From<SendDatagramError> for SendDatagramError

§

impl From<SendError> for Error

§

impl From<SendStreamError> for kvarn::prelude::Arc<dyn Error>

§

impl From<SendStreamError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<ServerConnection> for Connection

§

impl From<ServerConnection> for Connection

§

impl From<ServerNameType> for u8

§

impl From<SessionId> for StreamId

§

impl From<SettingsFlags> for u8

§

impl From<Side> for Side

§

impl From<SignBehavior> for bool

§

impl From<SignatureAlgorithm> for u8

§

impl From<SignatureScheme> for u16

§

impl From<Socket> for TcpListener

§

impl From<Socket> for TcpStream

§

impl From<Socket> for UdpSocket

§

impl From<Socket> for OwnedFd

§

impl From<Socket> for UnixDatagram

§

impl From<Socket> for UnixListener

§

impl From<Socket> for UnixStream

§

impl From<Span> for Option<Id>

§

impl From<SpawnError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<StoppedError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<StoppedError> for WriteError

§

impl From<StreamId> for u32

§

impl From<StreamId> for u32

§

impl From<StreamId> for VarInt

§

impl From<StreamResult> for Result<MZStatus, MZError>

§

impl From<SubsecondDigits> for SubsecondDigits

§

impl From<Tag> for u8

§

impl From<Tag> for u8

§

impl From<Tag> for usize

§

impl From<Tag> for usize

§

impl From<TcpListener> for TcpListener

§

impl From<TcpStream> for TcpStream

§

impl From<TlsError> for Error

§

impl From<Token> for usize

§

impl From<TryFromParsed> for Error

§

impl From<TryFromParsed> for Parse

§

impl From<Type> for i32

§

impl From<UdpSocket> for UdpSocket

§

impl From<UnexpectedEnd> for Error

§

impl From<UnexpectedEnd> for PacketDecodeError

§

impl From<UnixDatagram> for UnixDatagram

§

impl From<UnixListener> for UnixListener

§

impl From<UnixStream> for UnixStream

§

impl From<UnixTimestampPrecision> for UnixTimestampPrecision

§

impl From<Unspecified> for ()

§

impl From<Unspecified> for CryptoError

§

impl From<Unspecified> for KeyRejected

§

impl From<UnsupportedOperationError> for Error

§

impl From<UnsupportedVersion> for ConnectError

§

impl From<UrlError> for Error

§

impl From<UserError> for Error

§

impl From<Utf8Bytes> for Bytes

§

impl From<VarInt> for u64

§

impl From<VarInt> for u64

§

impl From<VarInt> for IdleTimeout

§

impl From<VarInt> for StreamId

§

impl From<VarInt> for StreamId

§

impl From<VarIntBoundsExceeded> for ConfigError

§

impl From<WeekNumberRepr> for WeekNumberRepr

§

impl From<WeekdayCaseSensitive> for bool

§

impl From<WeekdayOneIndexed> for bool

§

impl From<WeekdayRepr> for WeekdayRepr

§

impl From<Window> for isize

§

impl From<WriteError> for kvarn::prelude::utils::prelude::io::Error

§

impl From<WriteError> for SendStreamError

§

impl From<Writer> for Box<[u8]>

§

impl From<YearBase> for bool

§

impl From<YearRepr> for YearRepr

1.17.0 · source§

impl From<[u8; 4]> for kvarn::prelude::IpAddr

1.9.0 · source§

impl From<[u8; 4]> for kvarn::prelude::utils::prelude::net::Ipv4Addr

§

impl From<[u8; 12]> for Iv

1.17.0 · source§

impl From<[u8; 16]> for kvarn::prelude::IpAddr

1.9.0 · source§

impl From<[u8; 16]> for kvarn::prelude::utils::prelude::net::Ipv6Addr

§

impl From<[u8; 16]> for Tag

§

impl From<[u8; 32]> for AeadKey

1.17.0 · source§

impl From<[u16; 8]> for kvarn::prelude::IpAddr

1.16.0 · source§

impl From<[u16; 8]> for kvarn::prelude::utils::prelude::net::Ipv6Addr

§

impl From<[u16; 8]> for Ipv6Addr

§

impl From<[u32; 4]> for vec128_storage

§

impl From<[u64; 4]> for vec256_storage

§

impl From<u24> for usize

Available on 32-bit or 64-bit only.
§

impl From<vec128_storage> for [u32; 4]

§

impl From<vec128_storage> for [u64; 2]

§

impl From<vec128_storage> for [u128; 1]

§

impl From<vec256_storage> for [u32; 8]

§

impl From<vec256_storage> for [u64; 4]

§

impl From<vec256_storage> for [u128; 2]

§

impl From<vec512_storage> for [u32; 16]

§

impl From<vec512_storage> for [u64; 8]

§

impl From<vec512_storage> for [u128; 4]

1.0.0 · source§

impl<'a> From<&'a str> for Cow<'a, str>

Available on non-no_global_oom_handling only.
§

impl<'a> From<&'a str> for BytesMut

§

impl<'a> From<&'a str> for CompactString

§

impl<'a> From<&'a str> for Protocol

§

impl<'a> From<&'a str> for UniCase<Cow<'a, str>>

§

impl<'a> From<&'a str> for UniCase<String>

§

impl<'a> From<&'a CompactString> for Cow<'a, str>

§

impl<'a> From<&'a HeaderName> for HeaderName

§

impl<'a> From<&'a HeaderValue> for HeaderValue

§

impl<'a> From<&'a Method> for Method

1.6.0 · source§

impl<'a> From<&'a Path> for Cow<'a, Path>

1.28.0 · source§

impl<'a> From<&'a PathBuf> for Cow<'a, Path>

§

impl<'a> From<&'a StatusCode> for StatusCode

1.28.0 · source§

impl<'a> From<&'a CStr> for Cow<'a, CStr>

1.28.0 · source§

impl<'a> From<&'a CString> for Cow<'a, CStr>

1.28.0 · source§

impl<'a> From<&'a String> for Cow<'a, str>

Available on non-no_global_oom_handling only.
§

impl<'a> From<&'a String> for CompactString

§

impl<'a> From<&'a String> for UniCase<&'a str>

1.28.0 · source§

impl<'a> From<&'a OsStr> for Cow<'a, OsStr>

1.28.0 · source§

impl<'a> From<&'a OsString> for Cow<'a, OsStr>

§

impl<'a> From<&'a Current> for Option<&'a Id>

§

impl<'a> From<&'a Current> for Option<&'static Metadata<'static>>

§

impl<'a> From<&'a Current> for Option<Id>

§

impl<'a> From<&'a EnteredSpan> for Option<&'a Id>

§

impl<'a> From<&'a EnteredSpan> for Option<Id>

§

impl<'a> From<&'a Id> for Option<Id>

§

impl<'a> From<&'a InputReferenceMut<'a>> for InputReference<'a>

§

impl<'a> From<&'a Span> for Option<&'a Id>

§

impl<'a> From<&'a Span> for Option<Id>

§

impl<'a> From<&'a [u8]> for BytesMut

§

impl<'a> From<&'a [u8]> for CertificateDer<'a>

source§

impl<'a> From<&'a [u8]> for Input<'a>

§

impl<'a> From<&'a [u8]> for CertificateRevocationListDer<'a>

§

impl<'a> From<&'a [u8]> for CertificateSigningRequestDer<'a>

§

impl<'a> From<&'a [u8]> for Ciphertext<'a>

§

impl<'a> From<&'a [u8]> for Der<'a>

§

impl<'a> From<&'a [u8]> for EchConfigListBytes<'a>

§

impl<'a> From<&'a [u8]> for OutboundChunks<'a>

§

impl<'a> From<&'a [u8]> for PrivatePkcs1KeyDer<'a>

§

impl<'a> From<&'a [u8]> for PrivatePkcs8KeyDer<'a>

§

impl<'a> From<&'a [u8]> for PrivateSec1KeyDer<'a>

§

impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>

§

impl<'a> From<&'a [BorrowedFormatItem<'_>]> for BorrowedFormatItem<'a>

§

impl<'a> From<&'a mut Compat16x16> for CDF<'a>

§

impl<'a> From<&'a mut [u8]> for &'a mut UninitSlice

§

impl<'a> From<&'a mut [MaybeUninit<u8>]> for &'a mut UninitSlice

§

impl<'a> From<&'a vec128_storage> for &'a [u32; 4]

1.6.0 · source§

impl<'a> From<&str> for Box<dyn Error + 'a>

Available on non-no_global_oom_handling only.
1.0.0 · source§

impl<'a> From<&str> for Box<dyn Error + Send + Sync + 'a>

Available on non-no_global_oom_handling only.
§

impl<'a> From<Cow<'a, str>> for CompactString

1.14.0 · source§

impl<'a> From<Cow<'a, str>> for String

Available on non-no_global_oom_handling only.
§

impl<'a> From<Cow<'a, str>> for UniCase<String>

1.28.0 · source§

impl<'a> From<Cow<'a, Path>> for PathBuf

1.28.0 · source§

impl<'a> From<Cow<'a, CStr>> for CString

1.28.0 · source§

impl<'a> From<Cow<'a, OsStr>> for OsString

1.6.0 · source§

impl<'a> From<PathBuf> for Cow<'a, Path>

§

impl<'a> From<Pin<Box<dyn Future<Output = ()> + 'a>>> for LocalFutureObj<'a, ()>

§

impl<'a> From<Pin<Box<dyn Future<Output = ()> + Send + 'a>>> for FutureObj<'a, ()>

§

impl<'a> From<Box<[Item<'a>]>> for OwnedFormatItem

§

impl<'a> From<Box<dyn Future<Output = ()> + 'a>> for LocalFutureObj<'a, ()>

§

impl<'a> From<Box<dyn Future<Output = ()> + Send + 'a>> for FutureObj<'a, ()>

1.28.0 · source§

impl<'a> From<CString> for Cow<'a, CStr>

1.0.0 · source§

impl<'a> From<String> for Cow<'a, str>

Available on non-no_global_oom_handling only.
1.6.0 · source§

impl<'a> From<String> for Box<dyn Error + 'a>

Available on non-no_global_oom_handling only.
1.0.0 · source§

impl<'a> From<String> for Box<dyn Error + Send + Sync + 'a>

Available on non-no_global_oom_handling only.
§

impl<'a> From<String> for UniCase<Cow<'a, str>>

§

impl<'a> From<Vec<u8>> for CertificateDer<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for CertificateRevocationListDer<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for CertificateSigningRequestDer<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for EchConfigListBytes<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for PrivatePkcs1KeyDer<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for PrivatePkcs8KeyDer<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for PrivateSec1KeyDer<'a>

Available on crate feature alloc only.
§

impl<'a> From<Vec<u8>> for SubjectPublicKeyInfoDer<'a>

Available on crate feature alloc only.
1.28.0 · source§

impl<'a> From<OsString> for Cow<'a, OsStr>

source§

impl<'a> From<Name<'a>> for &'a str

§

impl<'a> From<BorrowedCertRevocationList<'a>> for CertRevocationList<'a>

§

impl<'a> From<Buffer<'a, Curve25519SeedBinType>> for Curve25519SeedBin<'a>

§

impl<'a> From<Buffer<'a, EcPrivateKeyBinType>> for EcPrivateKeyBin<'a>

§

impl<'a> From<Buffer<'a, EcPrivateKeyRfc5915DerType>> for EcPrivateKeyRfc5915Der<'a>

§

impl<'a> From<Buffer<'a, EcPublicKeyCompressedBinType>> for EcPublicKeyCompressedBin<'a>

§

impl<'a> From<Buffer<'a, EcPublicKeyUncompressedBinType>> for EcPublicKeyUncompressedBin<'a>

§

impl<'a> From<Buffer<'a, EncapsulationKeyBytesType>> for EncapsulationKeyBytes<'a>

§

impl<'a> From<Buffer<'a, Pkcs8V1DerType>> for Pkcs8V1Der<'a>

§

impl<'a> From<Buffer<'a, Pkcs8V2DerType>> for Pkcs8V2Der<'a>

§

impl<'a> From<Buffer<'a, PublicKeyX509DerType>> for PublicKeyX509Der<'a>

§

impl<'a> From<Cert<'a>> for TrustAnchor<'a>

§

impl<'a> From<InputReference<'a>> for SliceOffset

§

impl<'a> From<InputReferenceMut<'a>> for InputReference<'a>

§

impl<'a> From<PercentDecode<'a>> for Cow<'a, [u8]>

Available on crate feature alloc only.
§

impl<'a> From<PercentEncode<'a>> for Cow<'a, str>

Available on crate feature alloc only.
§

impl<'a> From<PrivatePkcs1KeyDer<'a>> for PrivateKeyDer<'a>

§

impl<'a> From<PrivatePkcs8KeyDer<'a>> for PrivateKeyDer<'a>

§

impl<'a> From<PrivateSec1KeyDer<'a>> for PrivateKeyDer<'a>

source§

impl<'a> From<Slice<'a>> for Input<'a>

1.22.0 · source§

impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + 'a>

Available on non-no_global_oom_handling only.
1.22.0 · source§

impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + Send + Sync + 'a>

Available on non-no_global_oom_handling only.
§

impl<'a, A> From<&'a [<A as Array>::Item]> for SmallVec<A>
where A: Array, <A as Array>::Item: Clone,

1.45.0 · source§

impl<'a, B> From<Cow<'a, B>> for kvarn::prelude::Arc<B>
where B: ToOwned + ?Sized, Arc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

1.45.0 · source§

impl<'a, B> From<Cow<'a, B>> for Rc<B>
where B: ToOwned + ?Sized, Rc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

1.0.0 · source§

impl<'a, E> From<E> for Box<dyn Error + 'a>
where E: Error + 'a,

Available on non-no_global_oom_handling only.
1.0.0 · source§

impl<'a, E> From<E> for Box<dyn Error + Send + Sync + 'a>
where E: Error + Send + Sync + 'a,

Available on non-no_global_oom_handling only.
§

impl<'a, E> From<E> for Box<dyn Error + 'a>
where E: Error + 'a,

§

impl<'a, F> From<Pin<Box<F>>> for FutureObj<'a, ()>
where F: Future<Output = ()> + Send + 'a,

§

impl<'a, F> From<Pin<Box<F>>> for LocalFutureObj<'a, ()>
where F: Future<Output = ()> + 'a,

§

impl<'a, F> From<Box<F>> for FutureObj<'a, ()>
where F: Future<Output = ()> + Send + 'a,

§

impl<'a, F> From<Box<F>> for LocalFutureObj<'a, ()>
where F: Future<Output = ()> + 'a,

§

impl<'a, K, V> From<IndexedEntry<'a, K, V>> for OccupiedEntry<'a, K, V>

§

impl<'a, K, V> From<OccupiedEntry<'a, K, V>> for IndexedEntry<'a, K, V>

1.30.0 · source§

impl<'a, T> From<&'a Option<T>> for Option<&'a T>

§

impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, UInt<UTerm, B1>>

§

impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B0>>

§

impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B1>>

§

impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 33]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 34]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 35]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 36]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 37]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 38]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 39]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 40]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 41]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 42]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 43]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 44]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 45]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 46]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 47]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 48]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 49]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 50]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 51]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 52]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 53]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 54]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 55]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 56]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 57]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 58]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 59]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 60]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 61]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 62]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 63]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 64]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 70]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 80]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 90]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 100]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 128]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 200]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 256]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 300]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 400]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 500]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 512]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 1000]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 1024]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

1.8.0 · source§

impl<'a, T> From<&'a [T]> for Cow<'a, [T]>
where T: Clone,

1.28.0 · source§

impl<'a, T> From<&'a Vec<T>> for Cow<'a, [T]>
where T: Clone,

1.30.0 · source§

impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T>

§

impl<'a, T> From<&'a mut [T; 1]> for &'a mut GenericArray<T, UInt<UTerm, B1>>

§

impl<'a, T> From<&'a mut [T; 2]> for &'a mut GenericArray<T, UInt<UInt<UTerm, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 3]> for &'a mut GenericArray<T, UInt<UInt<UTerm, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 4]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 5]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 6]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 7]> for &'a mut GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 8]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 9]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 10]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 11]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 12]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 13]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 14]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 15]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 16]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 17]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 18]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 19]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 20]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 21]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 22]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 23]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 24]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 25]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 26]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 27]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 28]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 29]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 30]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 31]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 32]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 33]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 34]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 35]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 36]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 37]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 38]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 39]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 40]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 41]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 42]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 43]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 44]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 45]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 46]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 47]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 48]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 49]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 50]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 51]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 52]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 53]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 54]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 55]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 56]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 57]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 58]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 59]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 60]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 61]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a mut [T; 62]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 63]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a mut [T; 64]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 70]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 80]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 90]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a mut [T; 100]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 128]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 200]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 256]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 300]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 400]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 500]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 512]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 1000]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a mut [T; 1024]> for &'a mut GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

1.14.0 · source§

impl<'a, T> From<Cow<'a, [T]>> for Vec<T>
where [T]: ToOwned<Owned = Vec<T>>,

§

impl<'a, T> From<&'a T> for Ptr<'a, T>
where T: 'a + ?Sized,

§

impl<'a, T> From<&T> for OwnedFormatItem
where T: AsRef<[BorrowedFormatItem<'a>]> + ?Sized,

1.8.0 · source§

impl<'a, T> From<Vec<T>> for Cow<'a, [T]>
where T: Clone,

§

impl<'a, T> From<FutureObj<'a, T>> for LocalFutureObj<'a, T>

§

impl<'a, T, N> From<&'a [T]> for &'a GenericArray<T, N>
where N: ArrayLength<T>,

§

impl<'a, T, N> From<&'a mut [T]> for &'a mut GenericArray<T, N>
where N: ArrayLength<T>,

1.77.0 · source§

impl<'a, T, const N: usize> From<&'a [T; N]> for Cow<'a, [T]>
where T: Clone,

§

impl<'b> From<&'b [u8]> for Message

§

impl<'c, 'i, Data> From<ReadEarlyData<'c, 'i, Data>> for ConnectionState<'c, 'i, Data>

§

impl<'c, 'i, Data> From<ReadTraffic<'c, 'i, Data>> for ConnectionState<'c, 'i, Data>

§

impl<'c, Data> From<EncodeTlsData<'c, Data>> for ConnectionState<'c, '_, Data>

§

impl<'c, Data> From<TransmitTlsData<'c, Data>> for ConnectionState<'c, '_, Data>

source§

impl<'data> From<&'data mut [u8]> for BorrowedBuf<'data>

Creates a new BorrowedBuf from a fully initialized slice.

source§

impl<'data> From<&'data mut [MaybeUninit<u8>]> for BorrowedBuf<'data>

Creates a new BorrowedBuf from an uninitialized buffer.

Use set_init if part of the buffer is known to be already initialized.

§

impl<'g, T> From<Shared<'g, T>> for Atomic<T>
where T: Pointable + ?Sized,

§

impl<'s> From<&'s str> for Message

source§

impl<'s, S> From<&'s S> for socket2::sockref::SockRef<'s>
where S: AsRawFd,

Available on Unix only.

On Windows, a corresponding From<&impl AsRawSocket> implementation exists.

§

impl<'s, S> From<&'s S> for SockRef<'s>
where S: AsFd,

Available on Unix only.

On Windows, a corresponding From<&impl AsSocket> implementation exists.

§

impl<'s, S> From<&'s S> for UdpSockRef<'s>
where S: AsFd,

Available on Unix only.
§

impl<'s, T> From<&'s mut [T]> for SliceVec<'s, T>

§

impl<'s, T, A> From<&'s mut A> for SliceVec<'s, T>
where A: AsMut<[T]>,

§

impl<'t> From<&'t CloseCode> for u16

1.19.0 · source§

impl<A> From<Box<str, A>> for Box<[u8], A>
where A: Allocator,

§

impl<A> From<Vec<<A as Array>::Item>> for SmallVec<A>
where A: Array,

§

impl<A> From<A> for ArrayVec<A>
where A: Array,

§

impl<A> From<A> for SmallVec<A>
where A: Array,

§

impl<A> From<A> for TinyVec<A>
where A: Array,

§

impl<A> From<ArrayVec<A>> for TinyVec<A>
where A: Array,

§

impl<B> From<&PublicKey> for PublicKeyComponents<B>
where B: FromIterator<u8>,

§

impl<B> From<(StreamType, Frame<B>)> for WriteBuf<B>
where B: Buf,

§

impl<B> From<BidiStreamHeader> for WriteBuf<B>
where B: Buf,

§

impl<B> From<Frame<B>> for WriteBuf<B>
where B: Buf,

§

impl<B> From<StreamType> for WriteBuf<B>
where B: Buf,

§

impl<B> From<UniStreamHeader> for WriteBuf<B>
where B: Buf,

§

impl<Data> From<ConnectionCore<Data>> for ConnectionCommon<Data>

§

impl<Data> From<ConnectionCore<Data>> for ConnectionCommon<Data>

§

impl<Data> From<ConnectionCore<Data>> for UnbufferedConnectionCommon<Data>

source§

impl<E> From<E> for Report<E>
where E: Error,

1.17.0 · source§

impl<I> From<(I, u16)> for SocketAddr
where I: Into<IpAddr>,

source§

impl<Ix> From<Ix> for EdgeIndex<Ix>
where Ix: IndexType,

source§

impl<Ix> From<Ix> for NodeIndex<Ix>
where Ix: IndexType,

§

impl<K, V> From<&Slice<K, V>> for Box<Slice<K, V>>
where K: Copy, V: Copy,

1.56.0 · source§

impl<K, V, const N: usize> From<[(K, V); N]> for HashMap<K, V>
where K: Eq + Hash,

1.56.0 · source§

impl<K, V, const N: usize> From<[(K, V); N]> for BTreeMap<K, V>
where K: Ord,

§

impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V>
where K: Hash + Eq,

Available on crate feature std only.
source§

impl<N, E, Ty, Ix> From<StableGraph<N, E, Ty, Ix>> for Graph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

Convert a StableGraph into a Graph

Computes in O(|V| + |E|) time.

This translates the stable graph into a graph with node and edge indices in a compact interval without holes (like Graphs always are).

Only if the stable graph had no vacancies after deletions (if node bound was equal to node count, and the same for edges), would the resulting graph have the same node and edge indices as the input.

source§

impl<N, E, Ty, Ix> From<Graph<N, E, Ty, Ix>> for StableGraph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

Convert a Graph into a StableGraph

Computes in O(|V| + |E|) time.

The resulting graph has the same node and edge indices as the original graph.

§

impl<NI> From<u32x4x2_avx2<NI>> for vec256_storage

§

impl<NI> From<x2<u32x4x2_avx2<NI>, G0>> for vec512_storage
where NI: Copy,

§

impl<O> From<f32> for F32<O>
where O: ByteOrder,

§

impl<O> From<f64> for F64<O>
where O: ByteOrder,

§

impl<O> From<i16> for I16<O>
where O: ByteOrder,

§

impl<O> From<i32> for I32<O>
where O: ByteOrder,

§

impl<O> From<i64> for I64<O>
where O: ByteOrder,

§

impl<O> From<i128> for I128<O>
where O: ByteOrder,

§

impl<O> From<u16> for U16<O>
where O: ByteOrder,

§

impl<O> From<u32> for U32<O>
where O: ByteOrder,

§

impl<O> From<u64> for U64<O>
where O: ByteOrder,

§

impl<O> From<u128> for U128<O>
where O: ByteOrder,

§

impl<O> From<F32<O>> for f32
where O: ByteOrder,

§

impl<O> From<F32<O>> for f64
where O: ByteOrder,

§

impl<O> From<F32<O>> for [u8; 4]
where O: ByteOrder,

§

impl<O> From<F64<O>> for f64
where O: ByteOrder,

§

impl<O> From<F64<O>> for [u8; 8]
where O: ByteOrder,

§

impl<O> From<I16<O>> for i16
where O: ByteOrder,

§

impl<O> From<I16<O>> for i32
where O: ByteOrder,

§

impl<O> From<I16<O>> for i64
where O: ByteOrder,

§

impl<O> From<I16<O>> for i128
where O: ByteOrder,

§

impl<O> From<I16<O>> for isize
where O: ByteOrder,

§

impl<O> From<I16<O>> for [u8; 2]
where O: ByteOrder,

§

impl<O> From<I32<O>> for i32
where O: ByteOrder,

§

impl<O> From<I32<O>> for i64
where O: ByteOrder,

§

impl<O> From<I32<O>> for i128
where O: ByteOrder,

§

impl<O> From<I32<O>> for [u8; 4]
where O: ByteOrder,

§

impl<O> From<I64<O>> for i64
where O: ByteOrder,

§

impl<O> From<I64<O>> for i128
where O: ByteOrder,

§

impl<O> From<I64<O>> for [u8; 8]
where O: ByteOrder,

§

impl<O> From<I128<O>> for i128
where O: ByteOrder,

§

impl<O> From<I128<O>> for [u8; 16]
where O: ByteOrder,

§

impl<O> From<U16<O>> for u16
where O: ByteOrder,

§

impl<O> From<U16<O>> for u32
where O: ByteOrder,

§

impl<O> From<U16<O>> for u64
where O: ByteOrder,

§

impl<O> From<U16<O>> for u128
where O: ByteOrder,

§

impl<O> From<U16<O>> for usize
where O: ByteOrder,

§

impl<O> From<U16<O>> for [u8; 2]
where O: ByteOrder,

§

impl<O> From<U32<O>> for u32
where O: ByteOrder,

§

impl<O> From<U32<O>> for u64
where O: ByteOrder,

§

impl<O> From<U32<O>> for u128
where O: ByteOrder,

§

impl<O> From<U32<O>> for [u8; 4]
where O: ByteOrder,

§

impl<O> From<U64<O>> for u64
where O: ByteOrder,

§

impl<O> From<U64<O>> for u128
where O: ByteOrder,

§

impl<O> From<U64<O>> for [u8; 8]
where O: ByteOrder,

§

impl<O> From<U128<O>> for u128
where O: ByteOrder,

§

impl<O> From<U128<O>> for [u8; 16]
where O: ByteOrder,

§

impl<O> From<[u8; 2]> for I16<O>
where O: ByteOrder,

§

impl<O> From<[u8; 2]> for U16<O>
where O: ByteOrder,

§

impl<O> From<[u8; 4]> for F32<O>
where O: ByteOrder,

§

impl<O> From<[u8; 4]> for I32<O>
where O: ByteOrder,

§

impl<O> From<[u8; 4]> for U32<O>
where O: ByteOrder,

§

impl<O> From<[u8; 8]> for F64<O>
where O: ByteOrder,

§

impl<O> From<[u8; 8]> for I64<O>
where O: ByteOrder,

§

impl<O> From<[u8; 8]> for U64<O>
where O: ByteOrder,

§

impl<O> From<[u8; 16]> for I128<O>
where O: ByteOrder,

§

impl<O> From<[u8; 16]> for U128<O>
where O: ByteOrder,

§

impl<O, P> From<F32<O>> for F64<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<I16<O>> for I32<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<I16<O>> for I64<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<I16<O>> for I128<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<I32<O>> for I64<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<I32<O>> for I128<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<I64<O>> for I128<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<U16<O>> for U32<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<U16<O>> for U64<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<U16<O>> for U128<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<U32<O>> for U64<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<U32<O>> for U128<P>
where O: ByteOrder, P: ByteOrder,

§

impl<O, P> From<U64<O>> for U128<P>
where O: ByteOrder, P: ByteOrder,

§

impl<R, G, T> From<T> for ReentrantMutex<R, G, T>
where R: RawMutex, G: GetThreadId,

§

impl<R, T> From<T> for Mutex<R, T>
where R: RawMutex,

§

impl<R, T> From<T> for RwLock<R, T>
where R: RawRwLock,

§

impl<RW> From<BufReader<BufWriter<RW>>> for BufStream<RW>

§

impl<RW> From<BufWriter<BufReader<RW>>> for BufStream<RW>

§

impl<S3, S4, NI> From<u32x4_sse2<S3, S4, NI>> for vec128_storage

§

impl<S3, S4, NI> From<u64x2_sse2<S3, S4, NI>> for vec128_storage

§

impl<S3, S4, NI> From<u128x1_sse2<S3, S4, NI>> for vec128_storage

§

impl<S> From<Ascii<S>> for UniCase<S>

§

impl<S> From<S> for Dispatch
where S: Subscriber + Send + Sync + 'static,

§

impl<S> From<S> for UniCase<S>
where S: AsRef<str>,

1.21.0 · source§

impl<T> From<&[T]> for kvarn::prelude::Arc<[T]>
where T: Clone,

Available on non-no_global_oom_handling only.
1.17.0 · source§

impl<T> From<&[T]> for Box<[T]>
where T: Clone,

Available on non-no_global_oom_handling only.
1.21.0 · source§

impl<T> From<&[T]> for Rc<[T]>
where T: Clone,

Available on non-no_global_oom_handling only.
1.0.0 · source§

impl<T> From<&[T]> for Vec<T>
where T: Clone,

Available on non-no_global_oom_handling only.
§

impl<T> From<&[T]> for Arc<[T]>
where T: Copy,

§

impl<T> From<&Slice<T>> for Box<Slice<T>>
where T: Copy,

1.19.0 · source§

impl<T> From<&mut [T]> for Vec<T>
where T: Clone,

Available on non-no_global_oom_handling only.
1.45.0 · source§

impl<T> From<Cow<'_, [T]>> for Box<[T]>
where T: Clone,

Available on non-no_global_oom_handling only.
§

impl<T> From<Option<T>> for OptionFuture<T>

§

impl<T> From<[T; 1]> for GenericArray<T, UInt<UTerm, B1>>

§

impl<T> From<[T; 2]> for GenericArray<T, UInt<UInt<UTerm, B1>, B0>>