pub trait From<T>: Sized {
// Required method
fn from(value: T) -> Self;
}
miri-test-libstd
only.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
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>
.
The From
trait simplifies error handling by allowing a function to return a single error type
that encapsulate 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
impliesInto
<U> for T
From
is reflexive, which means thatFrom<T> for T
is implemented
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 by calling Into<CliError>::into
which is automatically provided when
implementing From
. The compiler then infers which implementation of Into
should be used.
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§
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
impl From<&str> for kvarn::prelude::Arc<str>
no_global_oom_handling
only.impl From<&str> for Box<str, Global>
no_global_oom_handling
only.impl From<&str> for Box<dyn Error + 'static, Global>
no_global_oom_handling
only.impl From<&str> for Rc<str>
no_global_oom_handling
only.impl From<&str> for String
no_global_oom_handling
only.impl From<&str> for Vec<u8, Global>
no_global_oom_handling
only.impl From<&str> for Arc<str>
impl From<&Path> for kvarn::prelude::Arc<Path>
impl From<&Path> for Box<Path, Global>
impl From<&Path> for Rc<Path>
impl From<&Uri> for PathQuery
Converts a Uri
using one allocation.
impl From<&CStr> for kvarn::prelude::Arc<CStr>
target_has_atomic="ptr"
only.impl From<&CStr> for Box<CStr, Global>
impl From<&CStr> for CString
impl From<&CStr> for Rc<CStr>
impl From<&String> for String
no_global_oom_handling
only.impl From<&StreamResult> for Result<MZStatus, MZError>
impl From<&OsStr> for kvarn::prelude::Arc<OsStr>
impl From<&OsStr> for Box<OsStr, Global>
impl From<&OsStr> for Rc<OsStr>
impl From<&BorrowedFormatItem<'_>> for OwnedFormatItem
impl From<&ChaCha8Rng> for ChaCha8Rng
impl From<&ChaCha12Rng> for ChaCha12Rng
impl From<&ChaCha20Rng> for ChaCha20Rng
impl From<&StreamResult> for Result<MZStatus, MZError>
impl From<&mut str> for String
no_global_oom_handling
only.impl From<(&'static str, &'static str)> for OidEntry
impl From<Error> for kvarn::prelude::io::Error
impl From<Cow<'_, str>> for Box<str, Global>
no_global_oom_handling
only.impl From<Cow<'_, Path>> for Box<Path, Global>
impl From<Cow<'_, CStr>> for Box<CStr, Global>
impl From<Cow<'_, OsStr>> for Box<OsStr, Global>
impl From<ErrorKind> for kvarn::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.
impl From<IpAddr> for webpki::subject_name::ip_address::IpAddr
std
only.impl From<SocketAddr> for SockAddr
impl From<Error> for kvarn::application::Error
impl From<Error> for kvarn::prelude::io::Error
impl From<Option<Level>> for LevelFilter
impl From<Infallible> for TryFromSliceError
impl From<Infallible> for TryFromIntError
impl From<Infallible> for http::error::Error
impl From<TryReserveErrorKind> for TryReserveError
impl From<bool> for f32
impl From<bool> for f64
impl From<bool> for i8
impl From<bool> for i16
impl From<bool> for i32
impl From<bool> for i64
impl From<bool> for i128
impl From<bool> for isize
impl From<bool> for u8
impl From<bool> for u16
impl From<bool> for u32
impl From<bool> for u64
impl From<bool> for u128
impl From<bool> for usize
impl From<bool> for AtomicBool
target_has_atomic_load_store="8"
only.impl From<char> for u32
impl From<char> for u64
impl From<char> for u128
impl From<char> for String
no_global_oom_handling
only.impl From<f32> for f64
impl From<f32> for Real
impl From<f64> for Real
impl From<i8> for f32
impl From<i8> for f64
impl From<i8> for i16
impl From<i8> for i32
impl From<i8> for i64
impl From<i8> for i128
impl From<i8> for isize
impl From<i8> for AtomicI8
impl From<i8> for BigInt
impl From<i8> for Integer<'_>
impl From<i16> for f32
impl From<i16> for f64
impl From<i16> for i32
impl From<i16> for i64
impl From<i16> for i128
impl From<i16> for isize
impl From<i16> for HeaderValue
impl From<i16> for AtomicI16
impl From<i16> for BigInt
impl From<i16> for Integer<'_>
impl From<i32> for f64
impl From<i32> for i64
impl From<i32> for i128
impl From<i32> for HeaderValue
impl From<i32> for AtomicI32
impl From<i32> for BigInt
impl From<i32> for Domain
impl From<i32> for socket2::Protocol
impl From<i32> for Type
impl From<i32> for Integer<'_>
impl From<i64> for i128
impl From<i64> for HeaderValue
impl From<i64> for AtomicI64
impl From<i64> for BigInt
impl From<i64> for Integer<'_>
impl From<i128> for BigInt
impl From<i128> for Integer<'_>
impl From<isize> for HeaderValue
impl From<isize> for AtomicIsize
impl From<isize> for BigInt
impl From<!> for Infallible
impl From<!> for TryFromIntError
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.
impl From<u8> for f32
impl From<u8> for f64
impl From<u8> for i16
impl From<u8> for i32
impl From<u8> for i64
impl From<u8> for i128
impl From<u8> for isize
impl From<u8> for u16
impl From<u8> for u32
impl From<u8> for u64
impl From<u8> for u128
impl From<u8> for usize
impl From<u8> for AtomicU8
impl From<u8> for ExitCode
impl From<u8> for BigInt
impl From<u8> for BigUint
impl From<u8> for AlertDescription
impl From<u8> for AlertLevel
impl From<u8> for CertificateStatusType
impl From<u8> for ClientCertificateType
impl From<u8> for Compression
impl From<u8> for ContentType
impl From<u8> for ECCurveType
impl From<u8> for ECPointFormat
impl From<u8> for HandshakeType
impl From<u8> for HashAlgorithm
impl From<u8> for HeartbeatMessageType
impl From<u8> for HeartbeatMode
impl From<u8> for Integer<'_>
impl From<u8> for KeyUpdateRequest
impl From<u8> for OpCode
impl From<u8> for PSKKeyExchangeMode
impl From<u8> for ServerNameType
impl From<u8> for SignatureAlgorithm
impl From<u16> for f32
impl From<u16> for f64
impl From<u16> for i32
impl From<u16> for i64
impl From<u16> for i128
impl From<u16> for u32
impl From<u16> for u64
impl From<u16> for u128
impl From<u16> for usize
impl From<u16> for HeaderValue
impl From<u16> for AtomicU16
impl From<u16> for BigInt
impl From<u16> for BigUint
impl From<u16> for CipherSuite
impl From<u16> for CloseCode
impl From<u16> for ExtensionType
impl From<u16> for Integer<'_>
impl From<u16> for NamedCurve
impl From<u16> for NamedGroup
impl From<u16> for ProtocolVersion
impl From<u16> for SignatureScheme
impl From<u32> for f64
impl From<u32> for i64
impl From<u32> for i128
impl From<u32> for u64
impl From<u32> for u128
impl From<u32> for HeaderValue
impl From<u32> for Ipv4Addr
impl From<u32> for AtomicU32
impl From<u32> for Reason
impl From<u32> for BigInt
impl From<u32> for BigUint
impl From<u32> for Integer<'_>
impl From<u32> for OptTaggedParser
impl From<u32> for Tag
impl From<u64> for i128
impl From<u64> for u128
impl From<u64> for HeaderValue
impl From<u64> for AtomicU64
impl From<u64> for BigInt
impl From<u64> for BigUint
impl From<u64> for Integer<'_>
impl From<u128> for Ipv6Addr
impl From<u128> for BigInt
impl From<u128> for BigUint
impl From<u128> for Integer<'_>
impl From<usize> for HeaderValue
impl From<usize> for AtomicUsize
impl From<usize> for BigInt
impl From<usize> for BigUint
impl From<usize> for Length
impl From<Rule> for ComputedRule
impl From<Bytes> for BytesCow
impl From<Bytes> for ByteBody
impl From<Bytes> for Vec<u8, Global>
impl From<BytesMut> for BytesCow
impl From<BytesMut> for Bytes
impl From<BytesMut> for WriteableBytes
impl From<BytesMut> for Vec<u8, Global>
impl From<OffsetDateTime> for SystemTime
std
only.impl From<OffsetDateTime> for ASN1Time
impl From<HeaderName> for HeaderValue
impl From<InvalidHeaderName> for http::error::Error
impl From<InvalidHeaderValue> for http::error::Error
impl From<Error> for kvarn::application::Error
impl From<Error> for kvarn::encryption::Error
impl From<Error> for CertificateError
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
impl From<Error> for PEMError
impl From<Error> for SerializeError
impl From<Ipv4Addr> for kvarn::prelude::net::IpAddr
impl From<Ipv4Addr> for u32
impl From<Ipv6Addr> for kvarn::prelude::net::IpAddr
impl From<Ipv6Addr> for u128
impl From<SocketAddrV4> for SocketAddr
impl From<SocketAddrV4> for SockAddr
impl From<SocketAddrV6> for SocketAddr
impl From<SocketAddrV6> for SockAddr
impl From<TcpListener> for OwnedFd
impl From<TcpListener> for Socket
impl From<TcpStream> for OwnedFd
impl From<TcpStream> for Socket
impl From<UdpSocket> for OwnedFd
impl From<UdpSocket> for Socket
impl From<Utf8Error> for Error
impl From<Utf8Error> for Error
impl From<Arc<str>> for kvarn::prelude::Arc<[u8]>
impl From<Instant> for Instant
impl From<Instant> for Instant
impl From<PathBuf> for kvarn::prelude::Arc<Path>
impl From<PathBuf> for Box<Path, Global>
impl From<PathBuf> for Rc<Path>
impl From<PathBuf> for OsString
impl From<StatusCode> for u16
impl From<Authority> for Uri
Convert an Authority
into a Uri
.
impl From<InvalidUri> for http::error::Error
impl From<InvalidUriParts> for http::error::Error
impl From<PathAndQuery> for Uri
Convert a PathAndQuery
into a Uri
.
impl From<Uri> for Parts
Convert a Uri
into Parts
impl From<CompactString> for Cow<'_, str>
impl From<CompactString> for String
impl From<LayoutError> for TryReserveErrorKind
impl From<LayoutError> for CollectionAllocErr
impl From<__m128> for Simd<f32, 4>
impl From<__m128d> for Simd<f64, 2>
impl From<__m128i> for Simd<i8, 16>
impl From<__m128i> for Simd<i16, 8>
impl From<__m128i> for Simd<i32, 4>
impl From<__m128i> for Simd<i64, 2>
impl From<__m128i> for Simd<isize, 2>
impl From<__m128i> for Simd<u8, 16>
impl From<__m128i> for Simd<u16, 8>
impl From<__m128i> for Simd<u32, 4>
impl From<__m128i> for Simd<u64, 2>
impl From<__m128i> for Simd<usize, 2>
impl From<__m256> for Simd<f32, 8>
impl From<__m256d> for Simd<f64, 4>
impl From<__m256i> for Simd<i8, 32>
impl From<__m256i> for Simd<i16, 16>
impl From<__m256i> for Simd<i32, 8>
impl From<__m256i> for Simd<i64, 4>
impl From<__m256i> for Simd<isize, 4>
impl From<__m256i> for Simd<u8, 32>
impl From<__m256i> for Simd<u16, 16>
impl From<__m256i> for Simd<u32, 8>
impl From<__m256i> for Simd<u64, 4>
impl From<__m256i> for Simd<usize, 4>
impl From<__m512> for Simd<f32, 16>
impl From<__m512d> for Simd<f64, 8>
impl From<__m512i> for Simd<i8, 64>
impl From<__m512i> for Simd<i16, 32>
impl From<__m512i> for Simd<i32, 16>
impl From<__m512i> for Simd<i64, 8>
impl From<__m512i> for Simd<isize, 8>
impl From<__m512i> for Simd<u8, 64>
impl From<__m512i> for Simd<u16, 32>
impl From<__m512i> for Simd<u32, 16>
impl From<__m512i> for Simd<u64, 8>
impl From<__m512i> for Simd<usize, 8>
impl From<TryFromSliceError> for Unspecified
impl From<NonZeroI8> for i8
impl From<NonZeroI8> for NonZeroI16
impl From<NonZeroI8> for NonZeroI32
impl From<NonZeroI8> for NonZeroI64
impl From<NonZeroI8> for NonZeroI128
impl From<NonZeroI8> for NonZeroIsize
impl From<NonZeroI16> for i16
impl From<NonZeroI16> for NonZeroI32
impl From<NonZeroI16> for NonZeroI64
impl From<NonZeroI16> for NonZeroI128
impl From<NonZeroI16> for NonZeroIsize
impl From<NonZeroI32> for i32
impl From<NonZeroI32> for NonZeroI64
impl From<NonZeroI32> for NonZeroI128
impl From<NonZeroI64> for i64
impl From<NonZeroI64> for NonZeroI128
impl From<NonZeroI128> for i128
impl From<NonZeroIsize> for isize
impl From<NonZeroU8> for u8
impl From<NonZeroU8> for NonZeroI16
impl From<NonZeroU8> for NonZeroI32
impl From<NonZeroU8> for NonZeroI64
impl From<NonZeroU8> for NonZeroI128
impl From<NonZeroU8> for NonZeroIsize
impl From<NonZeroU8> for NonZeroU16
impl From<NonZeroU8> for NonZeroU32
impl From<NonZeroU8> for NonZeroU64
impl From<NonZeroU8> for NonZeroU128
impl From<NonZeroU8> for NonZeroUsize
impl From<NonZeroU16> for u16
impl From<NonZeroU16> for NonZeroI32
impl From<NonZeroU16> for NonZeroI64
impl From<NonZeroU16> for NonZeroI128
impl From<NonZeroU16> for NonZeroU32
impl From<NonZeroU16> for NonZeroU64
impl From<NonZeroU16> for NonZeroU128
impl From<NonZeroU16> for NonZeroUsize
impl From<NonZeroU32> for u32
impl From<NonZeroU32> for NonZeroI64
impl From<NonZeroU32> for NonZeroI128
impl From<NonZeroU32> for NonZeroU64
impl From<NonZeroU32> for NonZeroU128
impl From<NonZeroU32> for getrandom::error::Error
impl From<NonZeroU32> for rand_core::error::Error
impl From<NonZeroU64> for u64
impl From<NonZeroU64> for NonZeroI128
impl From<NonZeroU64> for NonZeroU128
impl From<NonZeroU128> for u128
impl From<NonZeroUsize> for usize
impl From<Alignment> for usize
impl From<Alignment> for NonZeroUsize
impl From<Simd<f32, 4>> for __m128
impl From<Simd<f32, 8>> for __m256
impl From<Simd<f32, 16>> for __m512
impl From<Simd<f64, 2>> for __m128d
impl From<Simd<f64, 4>> for __m256d
impl From<Simd<f64, 8>> for __m512d
impl From<Simd<i8, 16>> for __m128i
impl From<Simd<i8, 32>> for __m256i
impl From<Simd<i8, 64>> for __m512i
impl From<Simd<i16, 8>> for __m128i
impl From<Simd<i16, 16>> for __m256i
impl From<Simd<i16, 32>> for __m512i
impl From<Simd<i32, 4>> for __m128i
impl From<Simd<i32, 8>> for __m256i
impl From<Simd<i32, 16>> for __m512i
impl From<Simd<i64, 2>> for __m128i
impl From<Simd<i64, 4>> for __m256i
impl From<Simd<i64, 8>> for __m512i
impl From<Simd<isize, 2>> for __m128i
impl From<Simd<isize, 4>> for __m256i
impl From<Simd<isize, 8>> for __m512i
impl From<Simd<u8, 16>> for __m128i
impl From<Simd<u8, 32>> for __m256i
impl From<Simd<u8, 64>> for __m512i
impl From<Simd<u16, 8>> for __m128i
impl From<Simd<u16, 16>> for __m256i
impl From<Simd<u16, 32>> for __m512i
impl From<Simd<u32, 4>> for __m128i
impl From<Simd<u32, 8>> for __m256i
impl From<Simd<u32, 16>> for __m512i
impl From<Simd<u64, 2>> for __m128i
impl From<Simd<u64, 4>> for __m256i
impl From<Simd<u64, 8>> for __m512i
impl From<Simd<usize, 2>> for __m128i
impl From<Simd<usize, 4>> for __m256i
impl From<Simd<usize, 8>> for __m512i
impl From<KeyRejected> for Unspecified
impl From<Okm<'_, &'static Algorithm>> for HeaderProtectionKey
impl From<Okm<'_, &'static Algorithm>> for UnboundKey
impl From<Okm<'_, Algorithm>> for Prk
impl From<Okm<'_, Algorithm>> for Salt
impl From<Okm<'_, Algorithm>> for Key
impl From<Okm<'_, PayloadU8Len>> for PayloadU8
impl From<EndOfInput> for Unspecified
impl From<DnsNameRef<'_>> for DnsName
alloc
only.Requires the alloc
feature.
impl From<Box<str, Global>> for CompactString
impl From<Box<str, Global>> for String
impl From<Box<Path, Global>> for PathBuf
impl From<Box<CStr, Global>> for CString
impl From<Box<OsStr, Global>> for OsString
impl From<Box<[u8], Global>> for Bytes
impl From<CString> for kvarn::prelude::Arc<CStr>
target_has_atomic="ptr"
only.impl From<CString> for Box<CStr, Global>
impl From<CString> for Rc<CStr>
impl From<CString> for Vec<u8, Global>
impl From<NulError> for kvarn::prelude::io::Error
impl From<Rc<str>> for Rc<[u8]>
impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
impl From<FromUtf16Error> for Error
impl From<String> for Bytes
impl From<String> for kvarn::prelude::Arc<str>
no_global_oom_handling
only.impl From<String> for PathBuf
impl From<String> for CompactString
impl From<String> for Box<str, Global>
no_global_oom_handling
only.impl From<String> for Box<dyn Error + 'static, Global>
no_global_oom_handling
only.impl From<String> for Box<dyn Error + Sync + Send + 'static, Global>
no_global_oom_handling
only.impl From<String> for Rc<str>
no_global_oom_handling
only.impl From<String> for Vec<u8, Global>
impl From<String> for OsString
impl From<String> for Arc<str>
impl From<String> for BmpString<'_>
impl From<String> for GeneralString<'_>
impl From<String> for GraphicString<'_>
impl From<String> for Ia5String<'_>
impl From<String> for Message
impl From<String> for NumericString<'_>
impl From<String> for ObjectDescriptor<'_>
impl From<String> for PrintableString<'_>
impl From<String> for TeletexString<'_>
impl From<String> for UniversalString<'_>
impl From<String> for Utf8String<'_>
impl From<String> for VideotexString<'_>
impl From<String> for VisibleString<'_>
impl From<Vec<u8, Global>> for Bytes
impl From<Vec<u8, Global>> for DistinguishedName
impl From<Vec<u8, Global>> for Message
impl From<Vec<u8, Global>> for ProtocolName
impl From<Vec<u8, Global>> for ResponderId
impl From<Vec<u8, Global>> for Sct
impl From<Vec<u32, Global>> for IndexVec
impl From<Vec<usize, Global>> for IndexVec
impl From<Vec<NonZeroU8, Global>> for CString
impl From<Vec<BorrowedFormatItem<'_>, Global>> for OwnedFormatItem
impl From<Vec<OwnedFormatItem, Global>> for OwnedFormatItem
impl From<StreamResult> for Result<MZStatus, MZError>
impl From<OsString> for kvarn::prelude::Arc<OsStr>
impl From<OsString> for PathBuf
impl From<OsString> for Box<OsStr, Global>
impl From<OsString> for Rc<OsStr>
impl From<File> for OwnedFd
impl From<File> for Stdio
impl From<File> for File
impl From<OpenOptions> for OpenOptions
impl From<OwnedFd> for TcpListener
impl From<OwnedFd> for TcpStream
impl From<OwnedFd> for UdpSocket
impl From<OwnedFd> for std::fs::File
impl From<OwnedFd> for PidFd
impl From<OwnedFd> for UnixDatagram
impl From<OwnedFd> for UnixListener
impl From<OwnedFd> for UnixStream
impl From<OwnedFd> for Stdio
impl From<PidFd> for OwnedFd
impl From<UnixDatagram> for OwnedFd
impl From<UnixDatagram> for Socket
impl From<UnixListener> for OwnedFd
impl From<UnixListener> for Socket
impl From<UnixStream> for OwnedFd
impl From<UnixStream> for Socket
impl From<ChildStderr> for OwnedFd
impl From<ChildStderr> for Stdio
impl From<ChildStderr> for Receiver
Notes
The underlying pipe is not set to non-blocking.
impl From<ChildStdin> for OwnedFd
impl From<ChildStdin> for Stdio
impl From<ChildStdin> for Sender
Notes
The underlying pipe is not set to non-blocking.
impl From<ChildStdout> for OwnedFd
impl From<ChildStdout> for Stdio
impl From<ChildStdout> for Receiver
Notes
The underlying pipe is not set to non-blocking.
impl From<RecvError> for std::sync::mpsc::RecvTimeoutError
impl From<RecvError> for std::sync::mpsc::TryRecvError
impl From<SystemTime> for OffsetDateTime
std
only.impl From<SystemTime> for FileTime
impl From<SystemTimeError> for Error
impl From<CompressError> for kvarn::prelude::io::Error
impl From<DecompressError> for kvarn::prelude::io::Error
impl From<Error> for kvarn::prelude::io::Error
impl From<Error> for rand_core::error::Error
getrandom
only.impl From<Error> for kvarn::application::Error
http2
only.impl From<Reason> for u32
impl From<Reason> for h2::error::Error
impl From<StreamId> for u32
impl From<Error> for kvarn::prelude::utils::parse::Error
impl From<InvalidMethod> for http::error::Error
impl From<InvalidStatusCode> for http::error::Error
impl From<BigUint> for BigInt
impl From<Socket> for TcpListener
impl From<Socket> for TcpStream
impl From<Socket> for UdpSocket
impl From<Socket> for UnixDatagram
impl From<Socket> for UnixListener
impl From<Socket> for UnixStream
impl From<Domain> for i32
impl From<Protocol> for i32
impl From<Type> for i32
impl From<Level> for LevelFilter
impl From<LevelFilter> for Option<Level>
impl From<Current> for Option<Id>
impl From<Span> for Option<Id>
impl From<Braced> for Uuid
impl From<Hyphenated> for Uuid
impl From<Simple> for Uuid
impl From<Urn> for Uuid
impl From<Uuid> for Braced
impl From<Uuid> for Hyphenated
impl From<Uuid> for Simple
impl From<Uuid> for Urn
impl From<ChaCha8Core> for ChaCha8Rng
impl From<ChaCha12Core> for ChaCha12Rng
impl From<ChaCha20Core> for ChaCha20Rng
impl From<Error> for kvarn::prelude::io::Error
std
only.impl From<BigEndian<u32>> for u32
impl From<BigEndian<u32>> for [u8; 4]
impl From<BigEndian<u64>> for u64
impl From<BigEndian<u64>> for [u8; 8]
impl From<BorrowedFormatItem<'_>> for OwnedFormatItem
impl From<BroCatli> for BroccoliState
impl From<BrotliResult> for BrotliDecoderResult
impl From<ByteStr> for Bytes
impl From<CapacityError> for Error
impl From<CertificateError> for AlertDescription
impl From<CertificateError> for Error
impl From<ClientConnection> for Connection
impl From<CloseCode> for u16
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<ConversionRange> for Error
impl From<Custom> for Bytes
impl From<DataFlags> for u8
impl From<DateTime<Fixed>> for SystemTime
std
only.impl From<DecodeError> for DecodeSliceError
impl From<DifferentVariant> for Error
impl From<Elapsed> for kvarn::prelude::io::Error
impl From<Entry32> for Entry
impl From<Entry> for Entry128
impl From<Err<Error>> for Error
impl From<Err<Error>> for X509Error
impl From<Err<X509Error>> for X509Error
impl From<Error> for kvarn::encryption::Error
https
only.impl From<Error> for kvarn::prelude::io::Error
impl From<Error> for h2::error::Error
impl From<Error> for Err<Error>
impl From<Error> for InvalidFormatDescription
impl From<Error> for SerializeError
impl From<Error> for X509Error
impl From<ErrorKind> for InvalidUri
impl From<ErrorKind> for InvalidUriParts
impl From<ErrorKind> for X509Error
impl From<Format> for Error
impl From<GetRandomFailed> for Error
impl From<HeadersFlag> for u8
impl From<HourBase> for bool
impl From<IndeterminateOffset> for Error
impl From<Instant> for kvarn::prelude::Instant
impl From<Instant> for kvarn::prelude::Instant
impl From<InvalidFormatDescription> for Error
impl From<InvalidMessage> for Error
impl From<InvalidVariant> for Error
impl From<Item<'_>> for OwnedFormatItem
impl From<JoinError> for kvarn::prelude::io::Error
impl From<Kind> for Error
impl From<LittleEndian<u32>> for u32
impl From<LittleEndian<u32>> for [u8; 4]
impl From<LittleEndian<u64>> for u64
impl From<LittleEndian<u64>> for [u8; 8]
impl From<MZFlush> for TDEFLFlush
impl From<Message> for Vec<u8, Global>
impl From<Message> for PlainMessage
impl From<Month> for u8
impl From<MonthCaseSensitive> for bool
impl From<MonthRepr> for MonthRepr
impl From<OpCode> 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<ProtocolError> for Error
impl From<PushPromiseFlag> for u8
impl From<Real> for f32
impl From<Real> for f64
impl From<RecvError> for Error
crossbeam-channel
only.impl From<RecvError> for RecvTimeoutError
impl From<RecvError> for TryRecvError
impl From<Result> for Result<(), Unspecified>
impl From<SendError> for h2::error::Error
impl From<ServerConnection> for Connection
impl From<SettingsFlags> for u8
impl From<SignBehavior> for bool
impl From<SpawnError> for kvarn::prelude::io::Error
impl From<StreamId> for u32
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<Tag> for Header<'_>
impl From<Tag> for OptTaggedParser
impl From<TlsError> for Error
impl From<Token> for usize
impl From<TryFromParsed> for Error
impl From<TryFromParsed> for Parse
impl From<UnixTimestampPrecision> for UnixTimestampPrecision
impl From<UrlError> for Error
impl From<UserError> for h2::error::Error
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<X509Error> for Err<X509Error>
impl From<YearBase> for bool
impl From<YearRepr> for YearRepr
impl From<[u8; 4]> for kvarn::prelude::net::IpAddr
impl From<[u8; 4]> for Ipv4Addr
impl From<[u8; 16]> for kvarn::prelude::net::IpAddr
impl From<[u8; 16]> for Ipv6Addr
impl From<[u8; 32]> for Random
impl From<[u16; 8]> for kvarn::prelude::net::IpAddr
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
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]
impl<'a> From<&'a IpAddr> for IpAddrRef<'a>
alloc
only.impl<'a> From<&'a str> for Cow<'a, str>
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 h2::ext::Protocol
impl<'a> From<&'a str> for UniCase<Cow<'a, str>>
impl<'a> From<&'a str> for UniCase<String>
impl<'a> From<&'a str> for BmpString<'a>
impl<'a> From<&'a str> for GeneralString<'a>
impl<'a> From<&'a str> for GraphicString<'a>
impl<'a> From<&'a str> for Ia5String<'a>
impl<'a> From<&'a str> for NumericString<'a>
impl<'a> From<&'a str> for ObjectDescriptor<'a>
impl<'a> From<&'a str> for PrintableString<'a>
impl<'a> From<&'a str> for TeletexString<'a>
impl<'a> From<&'a str> for UniversalString<'a>
impl<'a> From<&'a str> for Utf8String<'a>
impl<'a> From<&'a str> for VideotexString<'a>
impl<'a> From<&'a str> for VisibleString<'a>
impl<'a> From<&'a HeaderName> for HeaderName
impl<'a> From<&'a HeaderValue> for HeaderValue
impl<'a> From<&'a Method> for Method
impl<'a> From<&'a Path> for Cow<'a, Path>
impl<'a> From<&'a PathBuf> for Cow<'a, Path>
impl<'a> From<&'a StatusCode> for StatusCode
impl<'a> From<&'a CompactString> for Cow<'a, str>
impl<'a> From<&'a CStr> for Cow<'a, CStr>
impl<'a> From<&'a CString> for Cow<'a, CStr>
impl<'a> From<&'a String> for Cow<'a, str>
no_global_oom_handling
only.impl<'a> From<&'a String> for CompactString
impl<'a> From<&'a String> for UniCase<&'a str>
impl<'a> From<&'a OsStr> for Cow<'a, OsStr>
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 Id> for Option<Id>
impl<'a> From<&'a EnteredSpan> for Option<&'a Id>
impl<'a> From<&'a EnteredSpan> for Option<Id>
impl<'a> From<&'a Span> for Option<&'a Id>
impl<'a> From<&'a Span> for Option<Id>
impl<'a> From<&'a InputReferenceMut<'a>> for InputReference<'a>
impl<'a> From<&'a [u8]> for BytesMut
impl<'a> From<&'a [u8]> for Input<'a>
impl<'a> From<&'a [u8]> for ECPoint<'a>
impl<'a> From<&'a [u8]> for OctetString<'a>
impl<'a> From<&'a [BorrowedFormatItem<'_>]> for BorrowedFormatItem<'a>
impl<'a> From<&'a mut Compat16x16> for CDF<'a>
impl<'a> From<&'a vec128_storage> for &'a [u32; 4]
impl<'a> From<&str> for Box<dyn Error + Sync + Send + 'a, Global>
no_global_oom_handling
only.impl<'a> From<Cow<'a, str>> for CompactString
impl<'a> From<Cow<'a, str>> for Box<dyn Error + 'static, Global>
no_global_oom_handling
only.impl<'a> From<Cow<'a, str>> for String
no_global_oom_handling
only.impl<'a> From<Cow<'a, str>> for UniCase<String>
impl<'a> From<Cow<'a, Path>> for PathBuf
impl<'a> From<Cow<'a, CStr>> for CString
impl<'a> From<Cow<'a, OsStr>> for OsString
impl<'a> From<IpAddrRef<'a>> for &'a str
impl<'a> From<IpAddrRef<'a>> for &'a [u8]
impl<'a> From<IpAddrRef<'a>> for webpki::subject_name::ip_address::IpAddr
alloc
only.impl<'a> From<IpAddrRef<'a>> for SubjectNameRef<'a>
impl<'a> From<PathBuf> for Cow<'a, Path>
impl<'a> From<Pin<Box<dyn Future<Output = ()> + 'a, Global>>> for LocalFutureObj<'a, ()>
impl<'a> From<Pin<Box<dyn Future<Output = ()> + Send + 'a, Global>>> for FutureObj<'a, ()>
impl<'a> From<DnsNameRef<'a>> for &'a str
impl<'a> From<DnsNameRef<'a>> for SubjectNameRef<'a>
impl<'a> From<Box<[Item<'a>], Global>> for OwnedFormatItem
impl<'a> From<Box<dyn Future<Output = ()> + 'a, Global>> for LocalFutureObj<'a, ()>
impl<'a> From<Box<dyn Future<Output = ()> + Send + 'a, Global>> for FutureObj<'a, ()>
impl<'a> From<CString> for Cow<'a, CStr>
impl<'a> From<String> for Cow<'a, str>
no_global_oom_handling
only.impl<'a> From<String> for UniCase<Cow<'a, str>>
impl<'a> From<OsString> for Cow<'a, OsStr>
impl<'a> From<Name<'a>> for &'a str
impl<'a> From<BerObjectContent<'a>> for BerObject<'a>
Build a DER object from a BerObjectContent.
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<Oid<'a>> for BerObject<'a>
Build a DER object from an OID.
impl<'a> From<PercentDecode<'a>> for Cow<'a, [u8]>
alloc
only.impl<'a> From<PercentEncode<'a>> for Cow<'a, str>
alloc
only.impl<'a> From<X509Name<'a>> for Vec<RelativeDistinguishedName<'a>, Global>
impl<'a, 'b> From<&'a AttributeTypeAndValue<'b>> for &'a [u8]
impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + Sync + Send + 'a, Global>
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,
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>,
impl<'a, B> From<Cow<'a, B>> for Rc<B>where B: ToOwned + ?Sized, Rc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,
impl<'a, E> From<E> for Box<dyn Error + 'a, Global>where E: Error + 'a,
no_global_oom_handling
only.impl<'a, E> From<E> for Box<dyn Error + Sync + Send + 'a, Global>where E: Error + Send + Sync + 'a,
no_global_oom_handling
only.impl<'a, F> From<Pin<Box<F, Global>>> for FutureObj<'a, ()>where F: Future<Output = ()> + Send + 'a,
impl<'a, F> From<Pin<Box<F, Global>>> for LocalFutureObj<'a, ()>where F: Future<Output = ()> + 'a,
impl<'a, F> From<Box<F, Global>> for FutureObj<'a, ()>where F: Future<Output = ()> + Send + 'a,
impl<'a, F> From<Box<F, Global>> for LocalFutureObj<'a, ()>where F: Future<Output = ()> + 'a,
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>>
impl<'a, T> From<&'a [T]> for Cow<'a, [T]>where T: Clone,
impl<'a, T> From<&'a Vec<T, Global>> for Cow<'a, [T]>where T: Clone,
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>>
impl<'a, T> From<Cow<'a, [T]>> for Vec<T, Global>where [T]: ToOwned<Owned = Vec<T, Global>>,
impl<'a, T> From<&T> for OwnedFormatItemwhere T: AsRef<[BorrowedFormatItem<'a>]> + ?Sized,
impl<'a, T> From<Vec<T, Global>> 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>,
impl<'b> From<&'b [u8]> for Message
impl<'data> From<&'data mut [u8]> for BorrowedBuf<'data>
Create a new BorrowedBuf
from a fully initialized slice.
impl<'data> From<&'data mut [MaybeUninit<u8>]> for BorrowedBuf<'data>
Create a new BorrowedBuf
from an uninitialized buffer.
Use set_init
if part of the buffer is known to be already initialized.
impl<'s> From<&'s str> for Message
impl<'s, S> From<&'s S> for SockRef<'s>where S: AsRawFd,
On Windows, a corresponding From<&impl AsRawSocket>
implementation exists.
impl<'t> From<&'t CloseCode> for u16
impl<A> From<Box<str, A>> for Box<[u8], A>where A: Allocator,
impl<A> From<Vec<<A as Array>::Item, Global>> for SmallVec<A>where A: Array,
impl<A> From<A> for SmallVec<A>where A: Array,
impl<Data> From<ConnectionCore<Data>> for ConnectionCommon<Data>
impl<E> From<E> for Report<E>where E: Error,
impl<I> From<(I, u16)> for SocketAddrwhere I: Into<IpAddr>,
impl<Ix> From<Ix> for EdgeIndex<Ix>where Ix: IndexType,
impl<Ix> From<Ix> for NodeIndex<Ix>where Ix: IndexType,
impl<K, V, const N: usize> From<[(K, V); N]> for HashMap<K, V, RandomState>where K: Eq + Hash,
impl<K, V, const N: usize> From<[(K, V); N]> for BTreeMap<K, V, Global>where K: Ord,
impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V, RandomState>where K: Hash + Eq,
has_std
only.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 Graph
s 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.
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_storagewhere NI: Copy,
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 Dispatchwhere S: Subscriber + Send + Sync + 'static,
impl<S> From<S> for UniCase<S>where S: AsRef<str>,
impl<T> From<&[T]> for kvarn::prelude::Arc<[T]>where T: Clone,
no_global_oom_handling
only.impl<T> From<&[T]> for Box<[T], Global>where T: Copy,
no_global_oom_handling
only.impl<T> From<&[T]> for Rc<[T]>where T: Clone,
no_global_oom_handling
only.impl<T> From<&[T]> for Vec<T, Global>where T: Clone,
no_global_oom_handling
only.impl<T> From<&[T]> for Arc<[T]>where T: Copy,
impl<T> From<&mut [T]> for Vec<T, Global>where T: Clone,
no_global_oom_handling
only.impl<T> From<Cow<'_, [T]>> for Box<[T], Global>where T: Copy,
no_global_oom_handling
only.