Trait rocket::mtls::oid::asn1_rs::nom::lib::std::convert::From

1.0.0 · source ·
pub trait From<T>: Sized {
    // Required method
    fn from(value: T) -> Self;
}
Available on crate feature mtls 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 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§

source

fn from(value: T) -> Self

Converts to this type from the input type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl From<&'static str> for StrContextValue

source§

impl From<&'static str> for bytes::bytes::Bytes

source§

impl From<&'static str> for Body

source§

impl From<&'static Location<'static>> for Source

source§

impl From<&'static Tls12CipherSuite> for SupportedCipherSuite

source§

impl From<&'static Tls13CipherSuite> for SupportedCipherSuite

source§

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

source§

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

source§

impl From<&ExpectCt> for rocket::http::Header<'static>

source§

impl From<&Frame> for rocket::http::Header<'static>

source§

impl From<&Hsts> for rocket::http::Header<'static>

source§

impl From<&NoSniff> for rocket::http::Header<'static>

source§

impl From<&Prefetch> for rocket::http::Header<'static>

source§

impl From<&Referrer> for rocket::http::Header<'static>

source§

impl From<&XssFilter> for rocket::http::Header<'static>

source§

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

source§

impl From<&str> for rocket::serde::json::Value

source§

impl From<&str> for Source

source§

impl From<&str> for figment::value::value::Value

§

impl From<&str> for RawStrBuf

1.17.0 · source§

impl From<&str> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<str>

source§

impl From<&str> for String

source§

impl From<&str> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

1.21.0 · source§

impl From<&str> for Rc<str>

1.21.0 · source§

impl From<&str> for Arc<str>

source§

impl From<&str> for allocator_api2::stable::vec::Vec<u8>

source§

impl From<&str> for figment::error::Error

source§

impl From<&str> for InternalString

source§

impl From<&str> for RawString

§

impl From<&Cookie<'_>> for rocket::http::Header<'static>

§

impl From<&RawStr> for RawStrBuf

source§

impl From<&UncasedStr> for Arc<UncasedStr>

source§

impl From<&Permission> for rocket::http::Header<'static>

source§

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

1.35.0 · source§

impl From<&String> for String

source§

impl From<&String> for InternalString

source§

impl From<&String> for RawString

1.17.0 · source§

impl From<&CStr> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<CStr>

1.7.0 · source§

impl From<&CStr> for CString

1.24.0 · source§

impl From<&CStr> for Rc<CStr>

1.24.0 · source§

impl From<&CStr> for Arc<CStr>

source§

impl From<&CStr> for allocator_api2::stable::boxed::Box<CStr>

source§

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

1.17.0 · source§

impl From<&OsStr> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<OsStr>

1.24.0 · source§

impl From<&OsStr> for Rc<OsStr>

1.24.0 · source§

impl From<&OsStr> for Arc<OsStr>

source§

impl From<&Path> for Source

1.17.0 · source§

impl From<&Path> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<Path>

1.24.0 · source§

impl From<&Path> for Rc<Path>

1.24.0 · source§

impl From<&Path> for Arc<Path>

source§

impl From<&Aes128Enc> for Aes128

source§

impl From<&Aes128Enc> for Aes128Dec

source§

impl From<&Aes192Enc> for Aes192

source§

impl From<&Aes192Enc> for Aes192Dec

source§

impl From<&Aes256Enc> for Aes256

source§

impl From<&Aes256Enc> for Aes256Dec

source§

impl From<&ObjectIdentifier> for ObjectIdentifier

source§

impl From<&InternalString> for InternalString

source§

impl From<&InternalString> for RawString

source§

impl From<&ChaCha8Rng> for ChaCha8Rng

source§

impl From<&ChaCha12Rng> for ChaCha12Rng

source§

impl From<&ChaCha20Rng> for ChaCha20Rng

1.44.0 · source§

impl From<&mut str> for String

source§

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

source§

impl From<(&'static str, &'static str)> for OidEntry

source§

impl From<(Option<isize>, Option<isize>)> for ErrorKind<'_>

source§

impl From<(Option<u64>, Option<u64>)> for ErrorKind<'_>

source§

impl From<(Option<ByteUnit>, Option<ByteUnit>)> for ErrorKind<'_>

source§

impl From<LogLevel> for log::LevelFilter

source§

impl From<ErrorKind> for rocket::Error

source§

impl From<Error<'_>> for rocket::form::Error<'_>

Available on crate feature json only.
source§

impl From<X509Error> for Err<X509Error>

§

impl From<Err<X509Error>> for rocket::mtls::Error

source§

impl From<Err<Error>> for rocket::mtls::oid::asn1_rs::Error

source§

impl From<Error> for X509Error

source§

impl From<Error> for Err<Error>

source§

impl From<Error> for SerializeError

source§

impl From<Real> for f32

source§

impl From<Real> for f64

source§

impl From<ErrorKind> for X509Error

source§

impl From<TryReserveErrorKind> for TryReserveError

source§

impl From<Option<Level>> for tracing_core::metadata::LevelFilter

1.36.0 · source§

impl From<Infallible> for TryFromSliceError

1.34.0 · source§

impl From<Infallible> for TryFromIntError

source§

impl From<Infallible> for http::error::Error

source§

impl From<Infallible> for http::error::Error

1.45.0 · source§

impl From<Cow<'_, str>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<str>

1.45.0 · source§

impl From<Cow<'_, CStr>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<CStr>

1.45.0 · source§

impl From<Cow<'_, OsStr>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<OsStr>

1.45.0 · source§

impl From<Cow<'_, Path>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<Path>

source§

impl From<Cow<'static, str>> for Body

source§

impl From<Cow<'static, [u8]>> for Body

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

source§

impl From<IpAddr> for webpki::subject_name::ip_address::IpAddr

source§

impl From<SocketAddr> for SockAddr

1.14.0 · source§

impl From<ErrorKind> for std::io::error::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<DecodeError> for base64::decode::DecodeSliceError

source§

impl From<DecodeError> for base64::decode::DecodeSliceError

source§

impl From<Kind> for figment::error::Error

source§

impl From<Empty> for figment::value::value::Value

source§

impl From<Num> for figment::value::value::Value

source§

impl From<NumValueReadError> for rocket::serde::msgpack::Error

source§

impl From<ValueReadError> for rocket::serde::msgpack::Error

source§

impl From<ValueWriteError> for rmp_serde::encode::Error

source§

impl From<ValueWriteError> for std::io::error::Error

source§

impl From<Marker> for u8

source§

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

source§

impl From<Error> for CertRevocationListError

source§

impl From<CertRevocationListError> for rustls::error::Error

source§

impl From<CertificateError> for AlertDescription

source§

impl From<CertificateError> for rustls::error::Error

source§

impl From<InvalidMessage> for rustls::error::Error

source§

impl From<PeerIncompatible> for rustls::error::Error

source§

impl From<PeerMisbehaved> for rustls::error::Error

source§

impl From<Unexpected<'_>> for Actual

source§

impl From<Format> for time::error::Error

source§

impl From<InvalidFormatDescription> for time::error::Error

source§

impl From<Parse> for time::error::Error

source§

impl From<ParseFromDescription> for time::error::Error

source§

impl From<ParseFromDescription> for Parse

source§

impl From<TryFromParsed> for time::error::Error

source§

impl From<TryFromParsed> for Parse

source§

impl From<BorrowedFormatItem<'_>> for OwnedFormatItem

source§

impl From<Component> for BorrowedFormatItem<'_>

source§

impl From<Component> for OwnedFormatItem

source§

impl From<Month> for u8

source§

impl From<Error> for TomlError

source§

impl From<Attribute> for Style

source§

impl From<Quirk> for Style

source§

impl From<Color> for Style

source§

impl From<bool> for rocket::serde::json::Value

source§

impl From<bool> for figment::value::value::Value

source§

impl From<bool> for toml::value::Value

source§

impl From<bool> for toml_edit::value::Value

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

source§

impl From<bool> for BigInt

source§

impl From<bool> for BigUint

1.24.0 · source§

impl From<bool> for AtomicBool

source§

impl From<char> for figment::value::value::Value

source§

impl From<char> for StrContextValue

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

1.6.0 · source§

impl From<f16> for f128

source§

impl From<f32> for rocket::serde::json::Value

source§

impl From<f32> for Real

source§

impl From<f32> for Num

source§

impl From<f32> for figment::value::value::Value

source§

impl From<f32> for toml::value::Value

1.6.0 · source§

impl From<f32> for f64

1.6.0 · source§

impl From<f32> for f128

source§

impl From<f64> for rocket::serde::json::Value

source§

impl From<f64> for Real

source§

impl From<f64> for Num

source§

impl From<f64> for figment::value::value::Value

source§

impl From<f64> for toml::value::Value

source§

impl From<f64> for toml_edit::value::Value

1.6.0 · source§

impl From<f64> for f128

source§

impl From<i8> for rocket::serde::json::Value

source§

impl From<i8> for Num

source§

impl From<i8> for figment::value::value::Value

source§

impl From<i8> for toml::value::Value

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

source§

impl From<i8> for ByteUnit

source§

impl From<i8> for BigInt

source§

impl From<i8> for Integer<'_>

1.34.0 · source§

impl From<i8> for AtomicI8

source§

impl From<i8> for Number

source§

impl From<i16> for rocket::serde::json::Value

source§

impl From<i16> for Num

source§

impl From<i16> for figment::value::value::Value

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

source§

impl From<i16> for ByteUnit

source§

impl From<i16> for BigInt

source§

impl From<i16> for Integer<'_>

1.34.0 · source§

impl From<i16> for AtomicI16

source§

impl From<i16> for http::header::value::HeaderValue

source§

impl From<i16> for http::header::value::HeaderValue

source§

impl From<i16> for Number

source§

impl From<i32> for rocket::serde::json::Value

source§

impl From<i32> for Num

source§

impl From<i32> for figment::value::value::Value

source§

impl From<i32> for toml::value::Value

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

source§

impl From<i32> for ByteUnit

source§

impl From<i32> for BigInt

source§

impl From<i32> for Integer<'_>

1.34.0 · source§

impl From<i32> for AtomicI32

source§

impl From<i32> for http::header::value::HeaderValue

source§

impl From<i32> for http::header::value::HeaderValue

source§

impl From<i32> for Number

source§

impl From<i32> for Domain

source§

impl From<i32> for socket2::Protocol

source§

impl From<i32> for Type

source§

impl From<i32> for SignalKind

source§

impl From<i64> for rocket::serde::json::Value

source§

impl From<i64> for Num

source§

impl From<i64> for figment::value::value::Value

source§

impl From<i64> for toml::value::Value

source§

impl From<i64> for toml_edit::value::Value

1.26.0 · source§

impl From<i64> for i128

source§

impl From<i64> for ByteUnit

source§

impl From<i64> for BigInt

source§

impl From<i64> for Integer<'_>

1.34.0 · source§

impl From<i64> for AtomicI64

source§

impl From<i64> for http::header::value::HeaderValue

source§

impl From<i64> for http::header::value::HeaderValue

source§

impl From<i64> for Number

source§

impl From<i128> for Num

source§

impl From<i128> for figment::value::value::Value

source§

impl From<i128> for ByteUnit

source§

impl From<i128> for BigInt

source§

impl From<i128> for Integer<'_>

source§

impl From<isize> for rocket::serde::json::Value

source§

impl From<isize> for Num

source§

impl From<isize> for figment::value::value::Value

source§

impl From<isize> for ByteUnit

source§

impl From<isize> for BigInt

1.23.0 · source§

impl From<isize> for AtomicIsize

source§

impl From<isize> for http::header::value::HeaderValue

source§

impl From<isize> for http::header::value::HeaderValue

source§

impl From<isize> for Number

1.34.0 · source§

impl From<!> for Infallible

source§

impl From<!> for TryFromIntError

source§

impl From<u8> for rocket::serde::json::Value

source§

impl From<u8> for Num

source§

impl From<u8> for figment::value::value::Value

source§

impl From<u8> for Marker

source§

impl From<u8> for AlertDescription

source§

impl From<u8> for rustls::enums::ContentType

source§

impl From<u8> for HandshakeType

source§

impl From<u8> for SignatureAlgorithm

source§

impl From<u8> for AlertLevel

source§

impl From<u8> for CertificateStatusType

source§

impl From<u8> for ClientCertificateType

source§

impl From<u8> for Compression

source§

impl From<u8> for ECCurveType

source§

impl From<u8> for ECPointFormat

source§

impl From<u8> for HashAlgorithm

source§

impl From<u8> for HeartbeatMessageType

source§

impl From<u8> for HeartbeatMode

source§

impl From<u8> for KeyUpdateRequest

source§

impl From<u8> for PSKKeyExchangeMode

source§

impl From<u8> for ServerNameType

source§

impl From<u8> for toml::value::Value

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

source§

impl From<u8> for ByteUnit

source§

impl From<u8> for BigInt

source§

impl From<u8> for BigUint

source§

impl From<u8> for Integer<'_>

1.34.0 · source§

impl From<u8> for AtomicU8

1.61.0 · source§

impl From<u8> for ExitCode

source§

impl From<u8> for Number

source§

impl From<u8> for Choice

source§

impl From<u16> for rocket::serde::json::Value

source§

impl From<u16> for Num

source§

impl From<u16> for figment::value::value::Value

source§

impl From<u16> for CipherSuite

source§

impl From<u16> for ProtocolVersion

source§

impl From<u16> for SignatureScheme

source§

impl From<u16> for ExtensionType

source§

impl From<u16> for NamedCurve

source§

impl From<u16> for NamedGroup

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

source§

impl From<u16> for ByteUnit

source§

impl From<u16> for BigInt

source§

impl From<u16> for BigUint

source§

impl From<u16> for Integer<'_>

1.34.0 · source§

impl From<u16> for AtomicU16

source§

impl From<u16> for http::header::value::HeaderValue

source§

impl From<u16> for http::header::value::HeaderValue

source§

impl From<u16> for Number

source§

impl From<u32> for rocket::serde::json::Value

source§

impl From<u32> for Num

source§

impl From<u32> for figment::value::value::Value

source§

impl From<u32> for toml::value::Value

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

source§

impl From<u32> for ByteUnit

source§

impl From<u32> for BigInt

source§

impl From<u32> for BigUint

source§

impl From<u32> for rocket::mtls::x509::ber::Tag

source§

impl From<u32> for Integer<'_>

source§

impl From<u32> for OptTaggedParser

1.1.0 · source§

impl From<u32> for Ipv4Addr

1.34.0 · source§

impl From<u32> for AtomicU32

source§

impl From<u32> for Reason

source§

impl From<u32> for http::header::value::HeaderValue

source§

impl From<u32> for http::header::value::HeaderValue

source§

impl From<u32> for Mode

source§

impl From<u32> for Number

source§

impl From<u64> for rocket::serde::json::Value

source§

impl From<u64> for Num

source§

impl From<u64> for figment::value::value::Value

1.26.0 · source§

impl From<u64> for i128

1.26.0 · source§

impl From<u64> for u128

source§

impl From<u64> for ByteUnit

source§

impl From<u64> for BigInt

source§

impl From<u64> for BigUint

source§

impl From<u64> for Integer<'_>

1.34.0 · source§

impl From<u64> for AtomicU64

source§

impl From<u64> for http::header::value::HeaderValue

source§

impl From<u64> for http::header::value::HeaderValue

source§

impl From<u64> for Number

source§

impl From<u128> for Num

source§

impl From<u128> for figment::value::value::Value

source§

impl From<u128> for ByteUnit

source§

impl From<u128> for BigInt

source§

impl From<u128> for BigUint

source§

impl From<u128> for Integer<'_>

1.26.0 · source§

impl From<u128> for Ipv6Addr

source§

impl From<()> for rocket::serde::json::Value

source§

impl From<usize> for rocket::serde::json::Value

source§

impl From<usize> for Length

source§

impl From<usize> for Num

source§

impl From<usize> for figment::value::value::Value

source§

impl From<usize> for ByteUnit

source§

impl From<usize> for BigInt

source§

impl From<usize> for BigUint

1.23.0 · source§

impl From<usize> for AtomicUsize

source§

impl From<usize> for http::header::value::HeaderValue

source§

impl From<usize> for http::header::value::HeaderValue

source§

impl From<usize> for Number

source§

impl From<usize> for Range

source§

impl From<ByteUnit> for u64

source§

impl From<ByteUnit> for u128

source§

impl From<FileServer> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<Route>

§

impl From<Accept> for rocket::http::Header<'static>

Creates a new Header with name Accept and the value set to the HTTP rendering of this Accept header.

§

impl From<ContentType> for rocket::http::Header<'static>

Creates a new Header with name Content-Type and the value set to the HTTP rendering of this Content-Type.

§

impl From<Cookie<'_>> for rocket::http::Header<'static>

§

impl From<MediaType> for rocket::http::ContentType

§

impl From<MediaType> for QMediaType

§

impl From<RawStrBuf> for Cow<'_, RawStr>

§

impl From<Asterisk> for Reference<'_>

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 Braced

source§

impl From<Uuid> for Hyphenated

source§

impl From<Uuid> for Simple

source§

impl From<Uuid> for Urn

source§

impl From<Uuid> for String

source§

impl From<Uuid> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

source§

impl From<BigUint> for BigInt

source§

impl From<Tag> for rocket::mtls::x509::ber::Header<'_>

source§

impl From<Tag> for OptTaggedParser

source§

impl From<LayoutError> for TryReserveErrorKind

source§

impl From<LayoutError> for CollectionAllocErr

1.18.0 · source§

impl From<Box<str>> for String

source§

impl From<Box<str>> for InternalString

source§

impl From<Box<str>> for RawString

1.18.0 · source§

impl From<Box<CStr>> for CString

1.18.0 · source§

impl From<Box<OsStr>> for OsString

1.18.0 · source§

impl From<Box<Path>> for PathBuf

source§

impl From<Box<RawValue>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<str>

source§

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

source§

impl From<Box<dyn Stream<Item = Result<Bytes, Box<dyn Error + Send + Sync>>> + Send>> for Body

§Optional

This function requires enabling the stream feature in your Cargo.toml.

1.78.0 · source§

impl From<TryReserveError> for std::io::error::Error

source§

impl From<Range<usize>> for Range

source§

impl From<RangeFrom<usize>> for Range

source§

impl From<RangeFull> for Range

source§

impl From<RangeInclusive<usize>> for Range

source§

impl From<RangeTo<usize>> for Range

source§

impl From<RangeToInclusive<usize>> for Range

source§

impl From<Utf8Error> for rocket::serde::msgpack::Error

source§

impl From<Utf8Error> for rocket::mtls::oid::asn1_rs::Error

source§

impl From<Utf8Error> for ParseError

source§

impl From<FromUtf8Error> for rocket::mtls::oid::asn1_rs::Error

source§

impl From<FromUtf16Error> for rocket::mtls::oid::asn1_rs::Error

source§

impl From<String> for rocket::serde::json::Value

source§

impl From<String> for Source

source§

impl From<String> for figment::value::value::Value

source§

impl From<String> for InlinableString

source§

impl From<String> for toml::value::Value

source§

impl From<String> for toml_edit::value::Value

source§

impl From<String> for Cookie<'static>

§

impl From<String> for RawStrBuf

source§

impl From<String> for Uncased<'static>

source§

impl From<String> for BmpString<'_>

source§

impl From<String> for GeneralString<'_>

source§

impl From<String> for GraphicString<'_>

source§

impl From<String> for Ia5String<'_>

source§

impl From<String> for NumericString<'_>

source§

impl From<String> for ObjectDescriptor<'_>

source§

impl From<String> for PrintableString<'_>

source§

impl From<String> for TeletexString<'_>

source§

impl From<String> for UniversalString<'_>

source§

impl From<String> for Utf8String<'_>

source§

impl From<String> for VideotexString<'_>

source§

impl From<String> for VisibleString<'_>

1.20.0 · source§

impl From<String> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<str>

1.14.0 · source§

impl From<String> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

1.21.0 · source§

impl From<String> for Rc<str>

1.21.0 · source§

impl From<String> for Arc<str>

source§

impl From<String> for OsString

source§

impl From<String> for PathBuf

source§

impl From<String> for bytes::bytes::Bytes

source§

impl From<String> for figment::error::Error

source§

impl From<String> for Body

source§

impl From<String> for InternalString

source§

impl From<String> for toml_edit::key::Key

source§

impl From<String> for RawString

source§

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

source§

impl From<Vec<OwnedFormatItem>> for OwnedFormatItem

source§

impl From<Vec<u8>> for bytes::bytes::Bytes

source§

impl From<Vec<u8>> for Body

source§

impl From<Vec<u8>> for ByteBuf

source§

impl From<Vec<u8>> for DistinguishedName

source§

impl From<Vec<u8>> for PresharedKeyBinder

source§

impl From<Vec<u8>> for ProtocolName

source§

impl From<Vec<u8>> for ResponderId

source§

impl From<Vec<u8>> for Sct

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

source§

impl From<EndOfInput> for webpki::error::Error

source§

impl From<EndOfInput> for Unspecified

1.20.0 · source§

impl From<CString> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<CStr>

1.7.0 · source§

impl From<CString> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

1.24.0 · source§

impl From<CString> for Rc<CStr>

1.24.0 · source§

impl From<CString> for Arc<CStr>

source§

impl From<NulError> for std::io::error::Error

1.62.0 · source§

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

1.62.0 · source§

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

source§

impl From<Arc<ClientConfig>> for TlsConnector

source§

impl From<Arc<ServerConfig>> for TlsAcceptor

source§

impl From<TryFromSliceError> for Unspecified

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>

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

1.16.0 · source§

impl From<Ipv4Addr> for core::net::ip_addr::IpAddr

1.1.0 · source§

impl From<Ipv4Addr> for u32

1.16.0 · source§

impl From<Ipv6Addr> for core::net::ip_addr::IpAddr

1.26.0 · source§

impl From<Ipv6Addr> for u128

1.16.0 · source§

impl From<SocketAddrV4> for SocketAddr

source§

impl From<SocketAddrV4> for SockAddr

1.16.0 · source§

impl From<SocketAddrV6> for SocketAddr

source§

impl From<SocketAddrV6> for SockAddr

source§

impl From<TryFromIntError> for rocket::serde::msgpack::Error

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>

source§

impl From<Alignment> for usize

source§

impl From<Alignment> for NonZero<usize>

source§

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

1.20.0 · source§

impl From<OsString> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<OsStr>

1.24.0 · source§

impl From<OsString> for Rc<OsStr>

1.24.0 · source§

impl From<OsString> for Arc<OsStr>

source§

impl From<OsString> for PathBuf

1.63.0 · source§

impl From<File> for OwnedFd

1.20.0 · source§

impl From<File> for Stdio

source§

impl From<File> for tokio::fs::file::File

source§

impl From<OpenOptions> for OpenOptions

source§

impl From<Error> for PEMError

source§

impl From<Error> for SerializeError

source§

impl From<Error> for Format

source§

impl From<Error> for AnyDelimiterCodecError

source§

impl From<Error> for LinesCodecError

1.74.0 · source§

impl From<Stderr> for Stdio

1.74.0 · source§

impl From<Stdout> for Stdio

1.63.0 · source§

impl From<TcpListener> for OwnedFd

source§

impl From<TcpListener> for Socket

1.63.0 · source§

impl From<TcpStream> for OwnedFd

source§

impl From<TcpStream> for Socket

1.63.0 · source§

impl From<UdpSocket> for OwnedFd

source§

impl From<UdpSocket> for Socket

1.63.0 · source§

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

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

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

1.74.0 · source§

impl From<OwnedFd> for ChildStderr

Create 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

Create 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

Create 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

source§

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 Socket

1.63.0 · source§

impl From<UnixListener> for OwnedFd

source§

impl From<UnixListener> for Socket

1.63.0 · source§

impl From<UnixStream> for OwnedFd

source§

impl From<UnixStream> for Socket

1.20.0 · source§

impl From<PathBuf> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<Path>

1.24.0 · source§

impl From<PathBuf> for Rc<Path>

1.24.0 · source§

impl From<PathBuf> for Arc<Path>

1.14.0 · source§

impl From<PathBuf> for OsString

1.63.0 · source§

impl From<ChildStderr> for OwnedFd

1.20.0 · source§

impl From<ChildStderr> for Stdio

source§

impl From<ChildStderr> for Receiver

§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

source§

impl From<ChildStdin> for Sender

§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

source§

impl From<ChildStdout> for Receiver

§Notes

The underlying pipe is not set to non-blocking.

source§

impl From<Command> for Command

source§

impl From<ExitStatusError> for ExitStatus

1.24.0 · source§

impl From<RecvError> for RecvTimeoutError

1.24.0 · source§

impl From<RecvError> for TryRecvError

source§

impl From<Instant> for time::instant::Instant

source§

impl From<Instant> for tokio::time::instant::Instant

source§

impl From<SystemTime> for HttpDate

source§

impl From<SystemTime> for OffsetDateTime

source§

impl From<SystemTimeError> for rustls::error::Error

source§

impl From<Aes128Enc> for Aes128

source§

impl From<Aes128Enc> for Aes128Dec

source§

impl From<Aes192Enc> for Aes192

source§

impl From<Aes192Enc> for Aes192Dec

source§

impl From<Aes256Enc> for Aes256

source§

impl From<Aes256Enc> for Aes256Dec

source§

impl From<Bytes> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

source§

impl From<Bytes> for Body

source§

impl From<BytesMut> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

source§

impl From<BytesMut> for bytes::bytes::Bytes

source§

impl From<OverflowError> for StreamCipherError

source§

impl From<Profile> for String

source§

impl From<Tag> for figment::value::value::Value

source§

impl From<Error> for std::io::error::Error

source§

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

source§

impl From<Reason> for u32

source§

impl From<Reason> for h2::error::Error

source§

impl From<StreamId> for u32

source§

impl From<MaxSizeReached> for http::error::Error

source§

impl From<HeaderName> for http::header::value::HeaderValue

source§

impl From<InvalidHeaderName> for http::error::Error

source§

impl From<InvalidHeaderValue> for http::error::Error

source§

impl From<InvalidMethod> for http::error::Error

source§

impl From<InvalidStatusCode> for http::error::Error

source§

impl From<StatusCode> for u16

source§

impl From<Authority> for http::uri::Uri

Convert an Authority into a Uri.

source§

impl From<PathAndQuery> for http::uri::Uri

Convert a PathAndQuery into a Uri.

source§

impl From<InvalidUri> for http::error::Error

source§

impl From<InvalidUriParts> for http::error::Error

source§

impl From<Uri> for http::uri::Parts

Convert a Uri into Parts

source§

impl From<MaxSizeReached> for http::error::Error

source§

impl From<HeaderName> for http::header::value::HeaderValue

source§

impl From<InvalidHeaderName> for http::error::Error

source§

impl From<InvalidHeaderValue> for http::error::Error

source§

impl From<InvalidMethod> for http::error::Error

source§

impl From<InvalidStatusCode> for http::error::Error

source§

impl From<StatusCode> for u16

source§

impl From<Authority> for http::uri::Uri

Convert an Authority into a Uri.

source§

impl From<PathAndQuery> for http::uri::Uri

Convert a PathAndQuery into a Uri.

source§

impl From<InvalidUri> for http::error::Error

source§

impl From<InvalidUriParts> for http::error::Error

source§

impl From<Uri> for Builder

source§

impl From<Uri> for http::uri::Parts

Convert a Uri into Parts

source§

impl From<HttpDate> for SystemTime

source§

impl From<Error> for std::io::error::Error

source§

impl From<Token> for usize

source§

impl From<KeyRejected> for Unspecified

source§

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

source§

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

source§

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

source§

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

source§

impl From<Okm<'_, Algorithm>> for ring::hmac::Key

source§

impl From<Okm<'_, PayloadU8Len>> for PayloadU8

source§

impl From<MarkerReadError> for rocket::serde::msgpack::Error

source§

impl From<ByteBuf> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<u8>

source§

impl From<Mode> for u32

source§

impl From<Errno> for std::io::error::Error

source§

impl From<ClientConnection> for Connection

source§

impl From<u24> for usize

source§

impl From<Message> for PlainMessage

source§

impl From<ServerConnection> for Connection

source§

impl From<Error> for std::io::error::Error

source§

impl From<Map<String, Value>> for rocket::serde::json::Value

source§

impl From<Number> for rocket::serde::json::Value

source§

impl From<Socket> for TcpListener

source§

impl From<Socket> for TcpStream

source§

impl From<Socket> for UdpSocket

source§

impl From<Socket> for OwnedFd

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<PathPersistError> for std::io::error::Error

source§

impl From<PathPersistError> for TempPath

source§

impl From<ComponentRange> for time::error::Error

source§

impl From<ComponentRange> for TryFromParsed

source§

impl From<ConversionRange> for time::error::Error

source§

impl From<DifferentVariant> for time::error::Error

source§

impl From<InvalidVariant> for time::error::Error

source§

impl From<Instant> for std::time::Instant

source§

impl From<OffsetDateTime> for ASN1Time

source§

impl From<OffsetDateTime> for SystemTime

source§

impl From<Elapsed> for std::io::error::Error

source§

impl From<JoinError> for std::io::error::Error

source§

impl From<SignalKind> for i32

source§

impl From<Elapsed> for std::io::error::Error

source§

impl From<Instant> for std::time::Instant

source§

impl From<Map<String, Value>> for toml::value::Value

source§

impl From<Date> for toml_edit::value::Value

source§

impl From<Date> for Datetime

source§

impl From<Datetime> for toml::value::Value

source§

impl From<Datetime> for toml_edit::value::Value

source§

impl From<Time> for toml_edit::value::Value

source§

impl From<Time> for Datetime

source§

impl From<Array> for toml_edit::value::Value

source§

impl From<Error> for TomlError

source§

impl From<DocumentMut> for Deserializer

source§

impl From<TomlError> for toml_edit::ser::Error

source§

impl From<TomlError> for toml_edit::de::Error

source§

impl From<InlineTable> for toml_edit::value::Value

source§

impl From<InternalString> for toml_edit::value::Value

source§

impl From<InternalString> for toml_edit::key::Key

source§

impl From<InternalString> for RawString

source§

impl From<Table> for DocumentMut

source§

impl From<Level> for tracing_core::metadata::LevelFilter

source§

impl From<LevelFilter> for Option<Level>

source§

impl From<Current> for Option<Id>

source§

impl From<Span> for Option<Id>

source§

impl From<ChaCha8Core> for ChaCha8Rng

source§

impl From<ChaCha12Core> for ChaCha12Rng

source§

impl From<ChaCha20Core> for ChaCha20Rng

source§

impl From<Error> for std::io::error::Error

source§

impl From<vec128_storage> for [u32; 4]

source§

impl From<vec128_storage> for [u64; 2]

source§

impl From<vec128_storage> for [u128; 1]

source§

impl From<vec256_storage> for [u32; 8]

source§

impl From<vec256_storage> for [u64; 4]

source§

impl From<vec256_storage> for [u128; 2]

source§

impl From<vec512_storage> for [u32; 16]

source§

impl From<vec512_storage> for [u64; 8]

source§

impl From<vec512_storage> for [u128; 4]

source§

impl From<BigEndian<u32>> for u32

source§

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

source§

impl From<ByteStr> for bytes::bytes::Bytes

source§

impl From<ByteStr> for bytes::bytes::Bytes

source§

impl From<Component> for Component

source§

impl From<Custom> for bytes::bytes::Bytes

source§

impl From<Custom> for bytes::bytes::Bytes

source§

impl From<DataFlags> for u8

source§

impl From<Error> for InvalidFormatDescription

source§

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

source§

impl From<ErrorKind> for http::uri::InvalidUri

source§

impl From<ErrorKind> for http::uri::InvalidUriParts

source§

impl From<ErrorKind> for http::uri::InvalidUri

source§

impl From<ErrorKind> for http::uri::InvalidUriParts

source§

impl From<GetRandomFailed> for rustls::error::Error

source§

impl From<HeadersFlag> for u8

source§

impl From<HourBase> for bool

source§

impl From<Item<'_>> for OwnedFormatItem

source§

impl From<Kind> for tokio::time::error::Error

source§

impl From<LengthMeasurement> for usize

source§

impl From<MonthCaseSensitive> for bool

source§

impl From<MonthRepr> for MonthRepr

source§

impl From<Padding> for Padding

source§

impl From<ParserNumber> for Number

source§

impl From<PeriodCase> for bool

source§

impl From<PeriodCaseSensitive> for bool

source§

impl From<ProfileTag> for Option<Profile>

source§

impl From<PushPromiseFlag> for u8

source§

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

source§

impl From<RootArcs> for u8

source§

impl From<SendError> for h2::error::Error

source§

impl From<SettingsFlags> for u8

source§

impl From<SignBehavior> for bool

source§

impl From<SpawnError> for std::io::error::Error

source§

impl From<State> for usize

source§

impl From<StreamId> for u32

source§

impl From<SubsecondDigits> for SubsecondDigits

source§

impl From<Tag> for u8

source§

impl From<Tag> for u8

source§

impl From<Tag> for usize

source§

impl From<Tag> for usize

source§

impl From<UnixTimestampPrecision> for UnixTimestampPrecision

source§

impl From<UserError> for h2::error::Error

source§

impl From<WeekNumberRepr> for WeekNumberRepr

source§

impl From<WeekdayCaseSensitive> for bool

source§

impl From<WeekdayOneIndexed> for bool

source§

impl From<WeekdayRepr> for WeekdayRepr

source§

impl From<Window> for isize

source§

impl From<Writer> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<[u8]>

source§

impl From<YearBase> for bool

source§

impl From<YearRepr> for YearRepr

1.17.0 · source§

impl From<[u8; 4]> for core::net::ip_addr::IpAddr

1.9.0 · source§

impl From<[u8; 4]> for Ipv4Addr

1.17.0 · source§

impl From<[u8; 16]> for core::net::ip_addr::IpAddr

1.9.0 · source§

impl From<[u8; 16]> for Ipv6Addr

source§

impl From<[u8; 16]> for ring::aead::Tag

source§

impl From<[u8; 32]> for Random

1.17.0 · source§

impl From<[u16; 8]> for core::net::ip_addr::IpAddr

1.16.0 · source§

impl From<[u16; 8]> for Ipv6Addr

source§

impl From<[u32; 4]> for vec128_storage

source§

impl From<[u64; 4]> for vec256_storage

source§

impl<'a> From<&'a IpAddr> for IpAddrRef<'a>

§

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

source§

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

source§

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

source§

impl<'a> From<&'a str> for &'a winnow::stream::Bytes

source§

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

source§

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

source§

impl<'a> From<&'a str> for toml::value::Value

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<'a> From<&'a str> for h2::ext::Protocol

source§

impl<'a> From<&'a str> for hyper::ext::Protocol

source§

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

Create a InlineString from the given &str.

§Panics

If the given string’s size is greater than INLINE_STRING_CAPACITY, this method panics.

source§

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

§

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

1.28.0 · source§

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

1.28.0 · source§

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

1.28.0 · source§

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

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>

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>

source§

impl<'a> From<&'a HeaderName> for http::header::name::HeaderName

source§

impl<'a> From<&'a HeaderValue> for http::header::value::HeaderValue

source§

impl<'a> From<&'a Method> for http::method::Method

source§

impl<'a> From<&'a StatusCode> for http::status::StatusCode

source§

impl<'a> From<&'a HeaderName> for http::header::name::HeaderName

source§

impl<'a> From<&'a HeaderValue> for http::header::value::HeaderValue

source§

impl<'a> From<&'a Method> for http::method::Method

source§

impl<'a> From<&'a StatusCode> for http::status::StatusCode

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<'a> From<&'a [u8]> for &'a winnow::stream::Bytes

source§

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

source§

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

source§

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

source§

impl<'a> From<&'a [u8]> for rmp::decode::bytes::Bytes<'a>

source§

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

source§

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

source§

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

1.6.0 · source§

impl<'a> From<&str> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + 'a>

source§

impl<'a> From<&str> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + Send + Sync + 'a>

source§

impl<'a> From<(&'a str, &'a str)> for ValueField<'a>

source§

impl<'a> From<(Status, Box<dyn Error + Send>)> for ErrorKind<'a>

source§

impl<'a> From<BerObjectContent<'a>> for BerObject<'a>

Build a DER object from a BerObjectContent.

source§

impl<'a> From<Cow<'a, str>> for rocket::serde::json::Value

source§

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

1.14.0 · source§

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

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.28.0 · source§

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

source§

impl<'a> From<Error> for rocket::form::Error<'a>

source§

impl<'a> From<DecodeStringError<'a>> for rocket::serde::msgpack::Error

source§

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

source§

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

source§

impl<'a> From<IpAddrRef<'a>> for webpki::subject_name::ip_address::IpAddr

source§

impl<'a> From<IpAddrRef<'a>> for SubjectNameRef<'a>

§

impl<'a> From<Absolute<'a>> for rocket::http::uri::Uri<'a>

§

impl<'a> From<Absolute<'a>> for Reference<'a>

§

impl<'a> From<Asterisk> for rocket::http::uri::Uri<'a>

§

impl<'a> From<Authority<'a>> for rocket::http::uri::Uri<'a>

§

impl<'a> From<Authority<'a>> for Host<'a>

§

impl<'a> From<Authority<'a>> for Reference<'a>

§

impl<'a> From<Origin<'a>> for rocket::http::uri::Uri<'a>

§

impl<'a> From<Origin<'a>> for Reference<'a>

§

impl<'a> From<Reference<'a>> for rocket::http::uri::Uri<'a>

source§

impl<'a> From<X509Name<'a>> for rocket::mtls::oid::asn1_rs::nom::lib::std::vec::Vec<RelativeDistinguishedName<'a>>

source§

impl<'a> From<Oid<'a>> for BerObject<'a>

Build a DER object from an OID.

source§

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

source§

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

source§

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

source§

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

source§

impl<'a> From<ParseBoolError> for ErrorKind<'a>

source§

impl<'a> From<Utf8Error> for ErrorKind<'a>

source§

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

1.6.0 · source§

impl<'a> From<String> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + 'a>

source§

impl<'a> From<String> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + Send + Sync + 'a>

1.28.0 · source§

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

source§

impl<'a> From<AddrParseError> for ErrorKind<'a>

source§

impl<'a> From<ParseFloatError> for ErrorKind<'a>

source§

impl<'a> From<ParseIntError> for ErrorKind<'a>

source§

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

source§

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

1.28.0 · source§

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

source§

impl<'a> From<Error> for ErrorKind<'a>

1.6.0 · source§

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

source§

impl<'a> From<CookieBuilder<'a>> for Cookie<'a>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<'a> From<DnsNameRef<'a>> for SubjectNameRef<'a>

source§

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

source§

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

source§

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

1.22.0 · source§

impl<'a, 'b> From<Cow<'b, str>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + 'a>

1.22.0 · source§

impl<'a, 'b> From<Cow<'b, str>> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + Send + Sync + 'a>

source§

impl<'a, 'v: 'a> From<&'static [Cow<'v, str>]> for ErrorKind<'a>

source§

impl<'a, 'v: 'a> From<Vec<Cow<'v, str>>> for ErrorKind<'a>

source§

impl<'a, 'v: 'a, const N: usize> From<&'static [Cow<'v, str>; N]> for ErrorKind<'a>

source§

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 Rc<B>
where B: ToOwned + ?Sized, Rc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

1.45.0 · source§

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

source§

impl<'a, E> From<ValueReadError<E>> for DecodeStringError<'a, E>
where E: RmpReadErr,

source§

impl<'a, E> From<E> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + 'a>
where E: Error + 'a,

source§

impl<'a, E> From<E> for rocket::mtls::oid::asn1_rs::nom::lib::std::boxed::Box<dyn Error + Send + Sync + 'a>
where E: Error + Send + Sync + 'a,

source§

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

source§

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

source§

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

source§

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

source§

impl<'a, N, V> From<(N, V)> for Cookie<'a>
where N: Into<Cow<'a, str>>, V: Into<Cow<'a, str>>,

source§

impl<'a, S: AsRef<str> + ?Sized> From<&'a S> for &'a rocket::form::name::Key

source§

impl<'a, S: AsRef<str> + ?Sized> From<&'a S> for &'a Name

source§

impl<'a, S: AsRef<str> + ?Sized> From<&'a S> for &'a FileName

1.30.0 · source§

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

source§

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

source§

impl<'a, T> From<&'a [T; 1]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 2]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 3]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 4]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 5]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 6]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 7]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

impl<'a, T> From<&'a [T; 8]> for figment::value::value::Value
where T: Into<Value> + Clone,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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>>

source§

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,

source§

impl<'a, T> From<&'a [T]> for figment::value::value::Value
where T: Into<Value> + Clone,

1.28.0 · source§

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

source§

impl<'a, T> From<&'a GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
where T: OutputSizeUser,

1.30.0 · source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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