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 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 implies Into<U> for T
  • From is reflexive, which means that From<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§

source

fn from(value: T) -> Self

Converts to this type from the input type.

Implementors§

source§

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

§

impl From<&'static str> for Body

source§

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

§

impl From<&'static Tls12CipherSuite> for SupportedCipherSuite

§

impl From<&'static Tls13CipherSuite> for SupportedCipherSuite

source§

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

§

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 Source

source§

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

source§

impl From<&str> for RawStrBuf

1.17.0 · source§

impl From<&str> for Box<str, Global>

1.6.0 · source§

impl From<&str> for Box<dyn Error + 'static, Global>

source§

impl From<&str> for String

source§

impl From<&str> for Vec<u8, Global>

1.21.0 · source§

impl From<&str> for Rc<str>

1.21.0 · source§

impl From<&str> for Arc<str>

source§

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

source§

impl From<&RawStr> for RawStrBuf

source§

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

1.35.0 · source§

impl From<&String> for String

1.17.0 · source§

impl From<&CStr> for Box<CStr, Global>

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<&StreamResult> for Result<MZStatus, MZError>

1.17.0 · source§

impl From<&OsStr> for Box<OsStr, Global>

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 Box<Path, Global>

1.24.0 · source§

impl From<&Path> for Rc<Path>

1.24.0 · source§

impl From<&Path> for Arc<Path>

§

impl From<&Aes128Enc> for Aes128

§

impl From<&Aes128Enc> for Aes128Dec

§

impl From<&Aes192Enc> for Aes192

§

impl From<&Aes192Enc> for Aes192Dec

§

impl From<&Aes256Enc> for Aes256

§

impl From<&Aes256Enc> for Aes256Dec

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

§

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

impl From<X509Error> for Err<X509Error>

source§

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

§

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

§

impl From<Error> for X509Error

§

impl From<Error> for Err<Error>

§

impl From<Error> for SerializeError

§

impl From<Real> for f32

§

impl From<Real> for f64

§

impl From<ErrorKind> for X509Error

source§

impl From<TryReserveErrorKind> for TryReserveError

source§

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

1.36.0 (const: unstable) · source§

impl From<Infallible> for TryFromSliceError

1.34.0 (const: unstable) · source§

impl From<Infallible> for TryFromIntError

source§

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

1.45.0 · source§

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

1.45.0 · source§

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

1.45.0 · source§

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

1.45.0 · source§

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

§

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

§

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

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<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<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<bool> for rocket::serde::json::Value

source§

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

1.68.0 (const: unstable) · source§

impl From<bool> for f32

1.68.0 (const: unstable) · source§

impl From<bool> for f64

1.28.0 (const: unstable) · source§

impl From<bool> for i8

1.28.0 (const: unstable) · source§

impl From<bool> for i16

1.28.0 (const: unstable) · source§

impl From<bool> for i32

1.28.0 (const: unstable) · source§

impl From<bool> for i64

1.28.0 (const: unstable) · source§

impl From<bool> for i128

1.28.0 (const: unstable) · source§

impl From<bool> for isize

1.28.0 (const: unstable) · source§

impl From<bool> for u8

1.28.0 (const: unstable) · source§

impl From<bool> for u16

1.28.0 (const: unstable) · source§

impl From<bool> for u32

1.28.0 (const: unstable) · source§

impl From<bool> for u64

1.28.0 (const: unstable) · source§

impl From<bool> for u128

1.28.0 (const: unstable) · source§

impl From<bool> for usize

1.24.0 (const: unstable) · source§

impl From<bool> for AtomicBool

§

impl From<bool> for Value

source§

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

1.13.0 (const: unstable) · source§

impl From<char> for u32

1.51.0 (const: unstable) · source§

impl From<char> for u64

1.51.0 (const: unstable) · source§

impl From<char> for u128

1.46.0 · source§

impl From<char> for String

source§

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

§

impl From<f32> for Real

source§

impl From<f32> for Num

source§

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

1.6.0 (const: unstable) · source§

impl From<f32> for f64

§

impl From<f32> for Value

source§

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

§

impl From<f64> for Real

source§

impl From<f64> for Num

source§

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

§

impl From<f64> for Value

source§

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

source§

impl From<i8> for Num

source§

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

1.6.0 (const: unstable) · source§

impl From<i8> for f32

1.6.0 (const: unstable) · source§

impl From<i8> for f64

1.5.0 (const: unstable) · source§

impl From<i8> for i16

1.5.0 (const: unstable) · source§

impl From<i8> for i32

1.5.0 (const: unstable) · source§

impl From<i8> for i64

1.26.0 (const: unstable) · source§

impl From<i8> for i128

1.5.0 (const: unstable) · source§

impl From<i8> for isize

source§

impl From<i8> for ByteUnit

source§

impl From<i8> for BigInt

§

impl From<i8> for Integer<'_>

1.34.0 (const: unstable) · source§

impl From<i8> for AtomicI8

source§

impl From<i8> for Number

§

impl From<i8> for Value

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 (const: unstable) · source§

impl From<i16> for f32

1.6.0 (const: unstable) · source§

impl From<i16> for f64

1.5.0 (const: unstable) · source§

impl From<i16> for i32

1.5.0 (const: unstable) · source§

impl From<i16> for i64

1.26.0 (const: unstable) · source§

impl From<i16> for i128

1.26.0 (const: unstable) · source§

impl From<i16> for isize

source§

impl From<i16> for ByteUnit

source§

impl From<i16> for BigInt

§

impl From<i16> for Integer<'_>

1.34.0 (const: unstable) · source§

impl From<i16> for AtomicI16

source§

impl From<i16> for 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

1.6.0 (const: unstable) · source§

impl From<i32> for f64

1.5.0 (const: unstable) · source§

impl From<i32> for i64

1.26.0 (const: unstable) · source§

impl From<i32> for i128

source§

impl From<i32> for ByteUnit

source§

impl From<i32> for BigInt

§

impl From<i32> for Integer<'_>

1.34.0 (const: unstable) · source§

impl From<i32> for AtomicI32

source§

impl From<i32> for 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

§

impl From<i32> for Value

source§

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

source§

impl From<i64> for Num

source§

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

1.26.0 (const: unstable) · source§

impl From<i64> for i128

source§

impl From<i64> for ByteUnit

source§

impl From<i64> for BigInt

§

impl From<i64> for Integer<'_>

1.34.0 (const: unstable) · source§

impl From<i64> for AtomicI64

source§

impl From<i64> for HeaderValue

source§

impl From<i64> for Number

§

impl From<i64> for Value

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

§

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 (const: unstable) · source§

impl From<isize> for AtomicIsize

source§

impl From<isize> for HeaderValue

source§

impl From<isize> for Number

1.34.0 (const: unstable) · 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

1.13.0 (const: unstable) · 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 (const: unstable) · source§

impl From<u8> for f32

1.6.0 (const: unstable) · source§

impl From<u8> for f64

1.5.0 (const: unstable) · source§

impl From<u8> for i16

1.5.0 (const: unstable) · source§

impl From<u8> for i32

1.5.0 (const: unstable) · source§

impl From<u8> for i64

1.26.0 (const: unstable) · source§

impl From<u8> for i128

1.26.0 (const: unstable) · source§

impl From<u8> for isize

1.5.0 (const: unstable) · source§

impl From<u8> for u16

1.5.0 (const: unstable) · source§

impl From<u8> for u32

1.5.0 (const: unstable) · source§

impl From<u8> for u64

1.26.0 (const: unstable) · source§

impl From<u8> for u128

1.5.0 (const: unstable) · source§

impl From<u8> for usize

source§

impl From<u8> for ByteUnit

source§

impl From<u8> for BigInt

source§

impl From<u8> for BigUint

§

impl From<u8> for Integer<'_>

1.34.0 (const: unstable) · 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

§

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 KeyUpdateRequest

§

impl From<u8> for Marker

§

impl From<u8> for PSKKeyExchangeMode

§

impl From<u8> for ServerNameType

§

impl From<u8> for SignatureAlgorithm

§

impl From<u8> for Value

source§

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

source§

impl From<u16> for Num

source§

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

1.6.0 (const: unstable) · source§

impl From<u16> for f32

1.6.0 (const: unstable) · source§

impl From<u16> for f64

1.5.0 (const: unstable) · source§

impl From<u16> for i32

1.5.0 (const: unstable) · source§

impl From<u16> for i64

1.26.0 (const: unstable) · source§

impl From<u16> for i128

1.5.0 (const: unstable) · source§

impl From<u16> for u32

1.5.0 (const: unstable) · source§

impl From<u16> for u64

1.26.0 (const: unstable) · source§

impl From<u16> for u128

1.26.0 (const: unstable) · source§

impl From<u16> for usize

source§

impl From<u16> for ByteUnit

source§

impl From<u16> for BigInt

source§

impl From<u16> for BigUint

§

impl From<u16> for Integer<'_>

1.34.0 (const: unstable) · source§

impl From<u16> for AtomicU16

source§

impl From<u16> for HeaderValue

source§

impl From<u16> for Number

§

impl From<u16> for CipherSuite

§

impl From<u16> for ExtensionType

§

impl From<u16> for NamedCurve

§

impl From<u16> for NamedGroup

§

impl From<u16> for ProtocolVersion

§

impl From<u16> for SignatureScheme

source§

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

source§

impl From<u32> for Num

source§

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

1.6.0 (const: unstable) · source§

impl From<u32> for f64

1.5.0 (const: unstable) · source§

impl From<u32> for i64

1.26.0 (const: unstable) · source§

impl From<u32> for i128

1.5.0 (const: unstable) · source§

impl From<u32> for u64

1.26.0 (const: unstable) · source§

impl From<u32> for u128

source§

impl From<u32> for ByteUnit

source§

impl From<u32> for BigInt

source§

impl From<u32> for BigUint

§

impl From<u32> for Tag

§

impl From<u32> for Integer<'_>

§

impl From<u32> for OptTaggedParser

1.1.0 · source§

impl From<u32> for Ipv4Addr

1.34.0 (const: unstable) · source§

impl From<u32> for AtomicU32

source§

impl From<u32> for Reason

source§

impl From<u32> for HeaderValue

source§

impl From<u32> for Number

§

impl From<u32> for Value

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 (const: unstable) · source§

impl From<u64> for i128

1.26.0 (const: unstable) · source§

impl From<u64> for u128

source§

impl From<u64> for ByteUnit

source§

impl From<u64> for BigInt

source§

impl From<u64> for BigUint

§

impl From<u64> for Integer<'_>

1.34.0 (const: unstable) · source§

impl From<u64> for AtomicU64

source§

impl From<u64> for 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

§

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

§

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 (const: unstable) · source§

impl From<usize> for AtomicUsize

source§

impl From<usize> for HeaderValue

source§

impl From<usize> for Number

source§

impl From<ByteUnit> for u64

source§

impl From<ByteUnit> for u128

source§

impl From<FileServer> for Vec<Route>

source§

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.

source§

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.

source§

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

source§

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

source§

impl From<MediaType> for QMediaType

source§

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

source§

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<BigUint> for BigInt

§

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

§

impl From<Tag> for OptTaggedParser

source§

impl From<LayoutError> for TryReserveErrorKind

§

impl From<LayoutError> for CollectionAllocErr

1.18.0 · source§

impl From<Box<str, Global>> for String

1.18.0 · source§

impl From<Box<CStr, Global>> for CString

1.18.0 · source§

impl From<Box<OsStr, Global>> for OsString

1.18.0 · source§

impl From<Box<Path, Global>> for PathBuf

source§

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

§

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

Optional

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

source§

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

§

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

source§

impl From<Utf8Error> for ParseError

§

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

§

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 RawStrBuf

§

impl From<String> for Uncased<'static>

§

impl From<String> for BmpString<'_>

§

impl From<String> for GeneralString<'_>

§

impl From<String> for GraphicString<'_>

§

impl From<String> for Ia5String<'_>

§

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

1.20.0 · source§

impl From<String> for Box<str, Global>

1.6.0 · source§

impl From<String> for Box<dyn Error + 'static, Global>

source§

impl From<String> for Box<dyn Error + Send + Sync + 'static, Global>

1.14.0 · source§

impl From<String> for Vec<u8, Global>

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

§

impl From<String> for Body

§

impl From<String> for InlinableString

§

impl From<String> for Value

source§

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

source§

impl From<Vec<OwnedFormatItem, Global>> for OwnedFormatItem

source§

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

§

impl From<Vec<u8, Global>> for Body

§

impl From<Vec<u8, Global>> for ByteBuf

source§

impl From<Vec<u32, Global>> for IndexVec

source§

impl From<Vec<usize, Global>> for IndexVec

1.43.0 · source§

impl From<Vec<NonZeroU8, Global>> for CString

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

§

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

source§

impl From<EndOfInput> for Unspecified

source§

impl From<DnsNameRef<'_>> for DnsName

Requires the alloc feature.

1.20.0 · source§

impl From<CString> for Box<CStr, Global>

1.7.0 · source§

impl From<CString> for Vec<u8, Global>

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

§

impl From<Arc<ClientConfig>> for TlsConnector

§

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 IpAddr

1.1.0 · source§

impl From<Ipv4Addr> for u32

1.16.0 · source§

impl From<Ipv6Addr> for 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.31.0 (const: unstable) · source§

impl From<NonZeroI8> for i8

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI16

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroIsize

1.31.0 (const: unstable) · source§

impl From<NonZeroI16> for i16

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroIsize

1.31.0 (const: unstable) · source§

impl From<NonZeroI32> for i32

1.41.0 (const: unstable) · source§

impl From<NonZeroI32> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroI32> for NonZeroI128

1.31.0 (const: unstable) · source§

impl From<NonZeroI64> for i64

1.41.0 (const: unstable) · source§

impl From<NonZeroI64> for NonZeroI128

1.31.0 (const: unstable) · source§

impl From<NonZeroI128> for i128

1.31.0 (const: unstable) · source§

impl From<NonZeroIsize> for isize

1.31.0 (const: unstable) · source§

impl From<NonZeroU8> for u8

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI16

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroIsize

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU16

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU32

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU64

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU128

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroUsize

1.31.0 (const: unstable) · source§

impl From<NonZeroU16> for u16

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroU32

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroU64

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroU128

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroUsize

1.31.0 (const: unstable) · source§

impl From<NonZeroU32> for u32

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroU64

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroU128

source§

impl From<NonZeroU32> for getrandom::error::Error

source§

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

1.31.0 (const: unstable) · source§

impl From<NonZeroU64> for u64

1.41.0 (const: unstable) · source§

impl From<NonZeroU64> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU64> for NonZeroU128

1.31.0 (const: unstable) · source§

impl From<NonZeroU128> for u128

1.31.0 (const: unstable) · source§

impl From<NonZeroUsize> for usize

source§

impl From<Alignment> for usize

source§

impl From<Alignment> for NonZeroUsize

source§

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

1.20.0 · source§

impl From<OsString> for Box<OsStr, Global>

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

§

impl From<Error> for PEMError

§

impl From<Error> for SerializeError

source§

impl From<Error> for Format

source§

impl From<Error> for AnyDelimiterCodecError

source§

impl From<Error> for LinesCodecError

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

impl From<OwnedFd> for Stdio

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 Box<Path, Global>

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

§

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

§

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

§

impl From<ChildStdout> for Receiver

Notes

The underlying pipe is not set to non-blocking.

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 OffsetDateTime

§

impl From<SystemTime> for HttpDate

§

impl From<SystemTimeError> for Error

source§

impl From<Bytes> for Vec<u8, Global>

§

impl From<Bytes> for Body

source§

impl From<BytesMut> for Vec<u8, Global>

source§

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

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<HeaderName> for 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 Parts

Convert a Uri into Parts

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

§

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

§

impl From<Aes128Enc> for Aes128

§

impl From<Aes128Enc> for Aes128Dec

§

impl From<Aes192Enc> for Aes192

§

impl From<Aes192Enc> for Aes192Dec

§

impl From<Aes256Enc> for Aes256

§

impl From<Aes256Enc> for Aes256Dec

source§

impl From<BigEndian<u32>> for u32

source§

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

source§

impl From<BigEndian<u64>> for u64

source§

impl From<BigEndian<u64>> for [u8; 8]

§

impl From<ByteBuf> for Vec<u8, Global>

source§

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

§

impl From<ClientConnection> for Connection

source§

impl From<Component> for Component

source§

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

source§

impl From<DataFlags> for u8

source§

impl From<DateTime<Fixed>> for SystemTime

§

impl From<Datetime> for Value

§

impl From<DecodeError> for DecodeSliceError

§

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

source§

impl From<Error> for InvalidFormatDescription

§

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

§

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

source§

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

source§

impl From<ErrorKind> for InvalidUri

source§

impl From<ErrorKind> for InvalidUriParts

§

impl From<GetRandomFailed> for Error

source§

impl From<HeadersFlag> for u8

source§

impl From<HourBase> for bool

§

impl From<HttpDate> for SystemTime

source§

impl From<Item<'_>> for OwnedFormatItem

source§

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

source§

impl From<LittleEndian<u32>> for u32

source§

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

source§

impl From<LittleEndian<u64>> for u64

source§

impl From<LittleEndian<u64>> for [u8; 8]

§

impl From<Map<String, Value>> for Value

source§

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

§

impl From<Message> for PlainMessage

source§

impl From<MonthCaseSensitive> for bool

source§

impl From<MonthRepr> for MonthRepr

source§

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

§

impl From<OverflowError> for StreamCipherError

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<SendError> for h2::error::Error

§

impl From<ServerConnection> for Connection

source§

impl From<SettingsFlags> for u8

source§

impl From<SignBehavior> for bool

§

impl From<Span> for (usize, usize)

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 usize

§

impl From<Tls12ClientSessionValue> for ClientSessionValue

§

impl From<Tls13ClientSessionValue> for ClientSessionValue

§

impl From<Token> for usize

source§

impl From<UnixTimestampPrecision> for UnixTimestampPrecision

source§

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

source§

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

source§

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

§

impl From<ValueWriteError<Error>> for std::io::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<YearBase> for bool

source§

impl From<YearRepr> for YearRepr

1.17.0 · source§

impl From<[u8; 4]> for IpAddr

1.9.0 · source§

impl From<[u8; 4]> for Ipv4Addr

1.17.0 · source§

impl From<[u8; 16]> for IpAddr

1.9.0 · source§

impl From<[u8; 16]> for Ipv6Addr

§

impl From<[u8; 32]> for Random

1.17.0 · source§

impl From<[u16; 8]> for IpAddr

1.16.0 · source§

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]

source§

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

§

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

source§

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

source§

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

§

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>

source§

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

source§

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

§

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

§

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.

§

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

§

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

§

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

source§

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 HeaderName

source§

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

source§

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

source§

impl<'a> From<&'a StatusCode> for 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 [BorrowedFormatItem<'_>]> for BorrowedFormatItem<'a>

§

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

§

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

§

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

§

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

source§

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

source§

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

§

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

1.22.0 · source§

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

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<Absolute<'a>> for rocket::http::uri::Uri<'a>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

impl<'a> From<X509Name<'a>> for Vec<RelativeDistinguishedName<'a>, Global>

§

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

Build a DER object from an OID.

source§

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

source§

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

§

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, ()>

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>

source§

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

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>

§

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, ()>

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<Name<'a>> for &'a str

source§

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

source§

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

§

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

§

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

1.22.0 · source§

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

source§

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

source§

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

source§

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

§

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<E> for Box<dyn Error + 'a, Global>where E: Error + 'a,

source§

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

§

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

§

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

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 (const: unstable) · source§

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

§

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

source§

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

§

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::Valuewhere T: Into<Value> + Clone,

§

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::Valuewhere T: Into<Value> + Clone,

§

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::Valuewhere T: Into<Value> + Clone,

§

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::Valuewhere T: Into<Value> + Clone,

§

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::Valuewhere T: Into<Value> + Clone,

§

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::Valuewhere T: Into<Value> + Clone,

§

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::Valuewhere T: Into<Value> + Clone,

§

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

source§

impl<'a, T> From<&'a [T]> for rocket::serde::json::Valuewhere T: Clone + Into<Value>,

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::Valuewhere T: Into<Value> + Clone,

1.28.0 · source§

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

§

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

1.30.0 (const: unstable) · source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

source§

impl<'a, T> From<&'a mut [T]> for InOutBuf<'a, 'a, T>

1.14.0 · source§

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

source§

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

source§

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

1.8.0 · source§

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

source§

impl<'a, T> From<Vec<T, Global>> for figment::value::value::Valuewhere T: Into<Value>,

§

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<'context, T> From<OwnedFd> for Epoll<Owning<'context, T>>where T: AsFd + Into<OwnedFd> + From<OwnedFd>,

§

impl<'context, T> From<Epoll<Owning<'context, T>>> for OwnedFdwhere T: AsFd + Into<OwnedFd> + From<OwnedFd>,

source§

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

Create a new BorrowedBuf from a fully initialized slice.

source§

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.

source§

impl<'f> From<Errors<'f>> for Context<'f>

source§

impl<'inp, 'out, T> From<(&'inp T, &'out mut T)> for InOut<'inp, 'out, T>

§

impl<'msg, 'aad> From<&'msg [u8]> for Payload<'msg, 'aad>

source§

impl<'r, T: Send + Sync + 'static> From<&'r T> for &'r State<T>

§

impl<'s, 'c> From<&'c str> for Uncased<'s>where 'c: 's,

§

impl<'s, 'c> From<&'c UncasedStr> for Uncased<'s>where 'c: 's,

§

impl<'s, 'c> From<Cow<'c, str>> for Uncased<'s>where 'c: 's,

source§

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

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

source§

impl<'v> From<&'v str> for NameBuf<'v>

source§

impl<'v> From<&'v Name> for NameBuf<'v>

source§

impl<'v> From<NameView<'v>> for NameBuf<'v>

source§

impl<'v> From<String> for NameBuf<'v>

source§

impl<'v> From<Vec<Error<'v>, Global>> for Errors<'v>

source§

impl<'v, T: Into<ErrorKind<'v>>> From<T> for rocket::form::Error<'v>

source§

impl<'v, T: Into<Error<'v>>> From<T> for Errors<'v>

1.19.0 · source§

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

§

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

§

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

§

impl<Aes, NonceSize> From<Aes> for AesGcm<Aes, NonceSize>where Aes: BlockSizeUser<BlockSize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>> + BlockEncrypt,

source§

impl<D> From<&'static str> for Full<D>where D: Buf + From<&'static str>,

source§

impl<D> From<&'static [u8]> for Full<D>where D: Buf + From<&'static [u8]>,

source§

impl<D> From<String> for Full<D>where D: Buf + From<String>,

source§

impl<D> From<Vec<u8, Global>> for Full<D>where D: Buf + From<Vec<u8, Global>>,

source§

impl<D> From<Bytes> for Full<D>where D: Buf + From<Bytes>,

source§

impl<D, B> From<Cow<'static, B>> for Full<D>where D: Buf + From<&'static B> + From<<B as ToOwned>::Owned>, B: ToOwned + ?Sized,

source§

impl<E> From<E> for Debug<E>

source§

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

§

impl<E> From<E> for MarkerReadError<E>where E: RmpReadErr,

§

impl<E> From<MarkerReadError<E>> for NumValueReadError<E>where E: RmpReadErr,

§

impl<E> From<MarkerReadError<E>> for ValueReadError<E>where E: RmpReadErr,

§

impl<E> From<MarkerWriteError<E>> for ValueWriteError<E>where E: RmpWriteErr,

§

impl<E> From<ValueReadError<E>> for NumValueReadError<E>where E: RmpReadErr,

source§

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

source§

impl<F> From<PersistError<F>> for NamedTempFile<F>

1.17.0 · source§

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

§

impl<I> From<I> for Pear<I>where I: Input,

source§

impl<K, V> From<BTreeMap<K, V, Global>> for figment::value::value::Valuewhere K: AsRef<str>, V: Into<Value>,

1.56.0 · source§

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

1.56.0 · source§

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

source§

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

source§

impl<L, R> From<Result<R, L>> for Either<L, R>

Convert from Result to Either with Ok => Right and Err => Left.

§

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

§

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

source§

impl<P> From<P> for RelativePathBufwhere P: AsRef<Path>,

§

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,

source§

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

source§

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

source§

impl<S> From<S> for ByteStream<S>

source§

impl<S> From<S> for TextStream<S>

source§

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

§

impl<S, V> From<BTreeMap<S, V, Global>> for Valuewhere S: Into<String>, V: Into<Value>,

§

impl<S, V> From<HashMap<S, V, RandomState>> for Valuewhere S: Into<String> + Hash + Eq, V: Into<Value>,

source§

impl<S: Stream> From<S> for ReaderStream<S>

source§

impl<S: Stream<Item = Event>> From<S> for EventStream<S>

1.17.0 · source§

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

source§

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

1.21.0 · source§

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

1.21.0 · source§

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

1.19.0 · source§

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

source§

impl<T> From<Option<T>> for rocket::serde::json::Valuewhere T: Into<Value>,

§

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

1.45.0 · source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> From<[T; 1024]> for 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.34.0 (const: unstable) · source§

impl<T> From<!> for T

Stability note: This impl does not yet exist, but we are “reserving space” to add it in the future. See rust-lang/rust#64715 for details.

1.23.0 (const: unstable) · source§

impl<T> From<*mut T> for AtomicPtr<T>

1.25.0 (const: unstable) · source§

impl<T> From<&T> for NonNull<T>where T: ?Sized,

source§

impl<T> From<&T> for OsStringwhere T: AsRef<OsStr> + ?Sized,

source§

impl<T> From<&T> for PathBufwhere T: AsRef<OsStr> + ?Sized,

1.25.0 (const: unstable) · source§

impl<T> From<&mut T> for NonNull<T>where T: ?Sized,

§

impl<T> From<SequenceOf<T>> for Vec<T, Global>

§

impl<T> From<SetOf<T>> for Vec<T, Global>

1.21.0 · source§

impl<T> From<Box<T, Global>> for Rc<T>where T: ?Sized,

1.21.0 · source§

impl<T> From<Box<T, Global>> for Arc<T>where T: ?Sized,

1.5.0 · source§

impl<T> From<BinaryHeap<T>> for Vec<T, Global>

source§

impl<T> From<Vec<T, Global>> for rocket::serde::json::Valuewhere T: Into<Value>,

1.5.0 · source§

impl<T> From<Vec<T, Global>> for BinaryHeap<T>where T: Ord,

1.21.0 · source§

impl<T> From<Vec<T, Global>> for Rc<[T]>

1.21.0 · source§

impl<T> From<Vec<T, Global>> for Arc<[T]>

1.24.0 · source§

impl<T> From<SendError<T>> for std::sync::mpsc::TrySendError<T>

source§

impl<T> From<PoisonError<T>> for TryLockError<T>

source§

impl<T> From<Port<T>> for u16

source§

impl<T> From<CtOption<T>> for Option<T>

source§

impl<T> From<Receiver<T>> for ReceiverStream<T>

source§

impl<T> From<SendError<T>> for tokio::sync::mpsc::error::TrySendError<T>

source§

impl<T> From<UnboundedReceiver<T>> for UnboundedReceiverStream<T>

§

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

§

impl<T> From<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>>> for [T; 1024]

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

1.12.0 (const: unstable) · source§

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

1.36.0 (const: unstable) · source§

impl<T> From<T> for Poll<T>

source§

impl<T> From<T> for Expirationwhere T: Into<Option<OffsetDateTime>>,

source§

impl<T> From<T> for Form<T>

source§

impl<T> From<T> for Lenient<T>

source§

impl<T> From<T> for Strict<T>

source§

impl<T> From<T> for Acceptwhere T: IntoCollection<MediaType>,

source§

impl<T> From<T> for Json<T>

Available on crate feature json only.
source§

impl<T> From<T> for MsgPack<T>

Available on crate feature msgpack only.
1.6.0 · source§

impl<T> From<T> for Box<T, Global>

1.6.0 · source§

impl<T> From<T> for Rc<T>

1.6.0 · source§

impl<T> From<T> for Arc<T>

source§

impl<T> From<T> for core::cell::once::OnceCell<T>

1.12.0 (const: unstable) · source§

impl<T> From<T> for Cell<T>

1.12.0 (const: unstable) · source§

impl<T> From<T> for RefCell<T>

const: unstable · source§

impl<T> From<T> for SyncUnsafeCell<T>

1.12.0 (const: unstable) · source§

impl<T> From<T> for UnsafeCell<T>

source§

impl<T> From<T> for Exclusive<T>

1.24.0 · source§

impl<T> From<T> for std::sync::mutex::Mutex<T>

source§

impl<T> From<T> for OnceLock<T>

1.24.0 · source§

impl<T> From<T> for std::sync::rwlock::RwLock<T>

source§

impl<T> From<T> for Profilewhere T: AsRef<str>,

source§

impl<T> From<T> for Tagged<T>

source§

impl<T> From<T> for Storage<T>where T: Send + Sync,

source§

impl<T> From<T> for tokio::sync::mutex::Mutex<T>

source§

impl<T> From<T> for tokio::sync::once_cell::OnceCell<T>

source§

impl<T> From<T> for tokio::sync::rwlock::RwLock<T>

§

impl<T> From<T> for Cursor<T>where T: Copy,

§

impl<T> From<T> for Extent<T>where T: Length,

§

impl<T> From<T> for Mutex<T>

§

impl<T> From<T> for OnceCell<T>

§

impl<T> From<T> for OnceCell<T>

const: unstable · source§

impl<T> From<T> for T

§

impl<T> From<TlsStream<T>> for TlsStream<T>

§

impl<T> From<TlsStream<T>> for TlsStream<T>

1.18.0 · source§

impl<T, A> From<Box<[T], A>> for Vec<T, A>where A: Allocator,

1.33.0 (const: unstable) · source§

impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>where A: Allocator + 'static, T: ?Sized,

1.10.0 · source§

impl<T, A> From<VecDeque<T, A>> for Vec<T, A>where A: Allocator,

1.20.0 · source§

impl<T, A> From<Vec<T, A>> for Box<[T], A>where A: Allocator,

1.10.0 · source§

impl<T, A> From<Vec<T, A>> for VecDeque<T, A>where A: Allocator,

§

impl<T, R> From<T> for Mutex<T, R>

§

impl<T, R> From<T> for SpinMutex<T, R>

§

impl<T, S> From<&'static str> for Expected<T, S>

§

impl<T, S> From<String> for Expected<T, S>

§

impl<T, S, A> From<HashMap<T, (), S, A>> for HashSet<T, S, A>where A: Allocator + Clone,

source§

impl<T, const LANES: usize> From<[T; LANES]> for Simd<T, LANES>where LaneCount<LANES>: SupportedLaneCount, T: SimdElement,

source§

impl<T, const LANES: usize> From<Mask<T, LANES>> for [bool; LANES]where T: MaskElement, LaneCount<LANES>: SupportedLaneCount,

source§

impl<T, const LANES: usize> From<Simd<T, LANES>> for [T; LANES]where LaneCount<LANES>: SupportedLaneCount, T: SimdElement,

source§

impl<T, const LANES: usize> From<Mask<T, LANES>> for Simd<T, LANES>where T: MaskElement, LaneCount<LANES>: SupportedLaneCount,

source§

impl<T, const LANES: usize> From<[bool; LANES]> for Mask<T, LANES>where T: MaskElement, LaneCount<LANES>: SupportedLaneCount,

1.45.0 · source§

impl<T, const N: usize> From<[T; N]> for Box<[T], Global>

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for BTreeSet<T, Global>where T: Ord,

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for BinaryHeap<T>where T: Ord,

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for rocket::mtls::oid::asn1_rs::nom::lib::std::collections::HashSet<T, RandomState>where T: Eq + Hash,

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for LinkedList<T>

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for VecDeque<T, Global>

1.44.0 · source§

impl<T, const N: usize> From<[T; N]> for Vec<T, Global>

source§

impl<T, const N: usize> From<[T; N]> for IndexSet<T, RandomState>where T: Eq + Hash,

source§

impl<T: Unpin> From<T> for One<T>

Returns a One stream that will yield value exactly once.

Example

use rocket::response::stream::One;

let mut stream = One::from("hello!");
source§

impl<T: AsRef<[u8]>> From<T> for Capped<T>

§

impl<V> From<Vec<V, Global>> for Valuewhere V: Into<Value>,

1.51.0 · source§

impl<W> From<Arc<W>> for RawWakerwhere W: Wake + Send + Sync + 'static,

1.51.0 · source§

impl<W> From<Arc<W>> for Wakerwhere W: Wake + Send + Sync + 'static,

source§

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

§

impl<W> From<x4<W>> for vec512_storagewhere W: Copy, vec128_storage: From<W>,

§

impl<W, G> From<x2<W, G>> for vec256_storagewhere W: Copy, vec128_storage: From<W>,

source§

impl<X> From<Range<X>> for Uniform<X>where X: SampleUniform,

source§

impl<X> From<RangeInclusive<X>> for Uniform<X>where X: SampleUniform,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,