Trait From

1.4.0 ยท Source
pub trait From<T>: Sized {
    // Required method
    fn from(value: T) -> Self;
}
Expand description

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

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

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

Prefer using Into over From when specifying trait bounds on a generic function to ensure that types that only implement Into can be used as well.

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

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

ยงGeneric Implementations

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

ยงWhen to implement From

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

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

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

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

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

ยงExamples

String implements From<&str>:

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

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

assert_eq!(string, other_string);

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

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

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

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

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

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

Required Methodsยง

1.0.0 ยท Source

fn from(value: T) -> Self

Converts to this type from the input type.

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง

Sourceยง

impl From<&'static str> for Bytes

Sourceยง

impl From<&'static str> for UninitializedFieldError

Sourceยง

impl From<&'static str> for Body

Sourceยง

impl From<&'static Tls12CipherSuite> for SupportedCipherSuite

Sourceยง

impl From<&'static Tls13CipherSuite> for SupportedCipherSuite

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<&str> for ChatCompletionFunctionCall

Sourceยง

impl From<&str> for ChatCompletionRequestAssistantMessageContent

Sourceยง

impl From<&str> for ChatCompletionRequestSystemMessageContent

Sourceยง

impl From<&str> for ChatCompletionRequestToolMessageContent

Sourceยง

impl From<&str> for ChatCompletionRequestUserMessageContent

Sourceยง

impl From<&str> for ChatCompletionToolChoiceOption

Sourceยง

impl From<&str> for Prompt

Sourceยง

impl From<&str> for Stop

Sourceยง

impl From<&str> for EmbeddingInput

Sourceยง

impl From<&str> for CreateMessageRequestContent

Sourceยง

impl From<&str> for ModerationInput

Sourceยง

impl From<&str> for iri_string::template::simple_context::Value

Sourceยง

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

1.17.0 ยท Sourceยง

impl From<&str> for Box<str>

1.21.0 ยท Sourceยง

impl From<&str> for Rc<str>

1.0.0 ยท Sourceยง

impl From<&str> for String

1.21.0 ยท Sourceยง

impl From<&str> for Arc<str>

1.0.0 ยท Sourceยง

impl From<&str> for Vec<u8>

Sourceยง

impl From<&str> for ChatCompletionNamedToolChoice

Sourceยง

impl From<&str> for ChatCompletionRequestAssistantMessage

Sourceยง

impl From<&str> for ChatCompletionRequestMessageContentPartText

Sourceยง

impl From<&str> for ChatCompletionRequestSystemMessage

Sourceยง

impl From<&str> for ChatCompletionRequestUserMessage

Sourceยง

impl From<&str> for FunctionName

Sourceยง

impl From<&str> for ImageUrl

Sourceยง

impl From<&String> for Prompt

Sourceยง

impl From<&String> for Stop

Sourceยง

impl From<&String> for EmbeddingInput

Sourceยง

impl From<&String> for ModerationInput

1.35.0 ยท Sourceยง

impl From<&String> for String

Sourceยง

impl From<&Vec<&str>> for Prompt

Sourceยง

impl From<&Vec<&str>> for Stop

Sourceยง

impl From<&Vec<&str>> for EmbeddingInput

Sourceยง

impl From<&Vec<&str>> for ModerationInput

Sourceยง

impl From<&Vec<&String>> for Prompt

Sourceยง

impl From<&Vec<&String>> for Stop

Sourceยง

impl From<&Vec<&String>> for EmbeddingInput

Sourceยง

impl From<&Vec<&String>> for ModerationInput

Sourceยง

impl From<&Vec<u16>> for Prompt

Sourceยง

impl From<&Vec<u32>> for EmbeddingInput

Sourceยง

impl From<&Vec<String>> for Prompt

Sourceยง

impl From<&Vec<String>> for Stop

Sourceยง

impl From<&Vec<String>> for EmbeddingInput

Sourceยง

impl From<&Vec<String>> for ModerationInput

Sourceยง

impl From<&Vec<Vec<u16>>> for Prompt

Sourceยง

impl From<&Vec<Vec<u32>>> for EmbeddingInput

1.17.0 ยท Sourceยง

impl From<&CStr> for Box<CStr>

1.7.0 ยท Sourceยง

impl From<&CStr> for CString

1.24.0 ยท Sourceยง

impl From<&CStr> for Rc<CStr>

1.24.0 ยท Sourceยง

impl From<&CStr> for Arc<CStr>

1.17.0 ยท Sourceยง

impl From<&OsStr> for Box<OsStr>

1.24.0 ยท Sourceยง

impl From<&OsStr> for Rc<OsStr>

1.24.0 ยท Sourceยง

impl From<&OsStr> for Arc<OsStr>

1.17.0 ยท Sourceยง

impl From<&Path> for Box<Path>

1.24.0 ยท Sourceยง

impl From<&Path> for Rc<Path>

1.24.0 ยท Sourceยง

impl From<&Path> for Arc<Path>

Sourceยง

impl From<&LanguageIdentifier> for (Language, Option<Script>, Option<Region>)

Convert from a LanguageIdentifier to an LSR tuple.

ยงExamples

use icu::locale::{
    langid,
    subtags::{language, region, script},
};

let lid = langid!("en-Latn-US");
let (lang, script, region) = (&lid).into();

assert_eq!(lang, language!("en"));
assert_eq!(script, Some(script!("Latn")));
assert_eq!(region, Some(region!("US")));
Sourceยง

impl From<&LanguageIdentifier> for DataLocale

Sourceยง

impl From<&LanguageIdentifier> for LocalePreferences

Sourceยง

impl From<&Locale> for DataLocale

Sourceยง

impl From<&Locale> for LocalePreferences

Sourceยง

impl From<&UriTemplateStr> for Box<UriTemplateStr>

Sourceยง

impl From<&UriTemplateStr> for Rc<UriTemplateStr>

Sourceยง

impl From<&UriTemplateStr> for Arc<UriTemplateStr>

Sourceยง

impl From<&UriTemplateStr> for UriTemplateString

Sourceยง

impl From<&ChaCha8Rng> for ChaCha8Rng

Sourceยง

impl From<&ChaCha12Rng> for ChaCha12Rng

Sourceยง

impl From<&ChaCha20Rng> for ChaCha20Rng

Sourceยง

impl From<&[Attribute]> for crossterm::style::attributes::Attributes

Sourceยง

impl From<&[Attribute]> for crossterm::style::attributes::Attributes

Sourceยง

impl From<&[u8]> for SharedSecret

Sourceยง

impl From<&[u8]> for PrefixedPayload

Sourceยง

impl From<&[u8]> for rustls::quic::Tag

1.84.0 ยท Sourceยง

impl From<&mut str> for Box<str>

1.84.0 ยท Sourceยง

impl From<&mut str> for Rc<str>

1.44.0 ยท Sourceยง

impl From<&mut str> for String

1.84.0 ยท Sourceยง

impl From<&mut str> for Arc<str>

1.84.0 ยท Sourceยง

impl From<&mut CStr> for Box<CStr>

1.84.0 ยท Sourceยง

impl From<&mut CStr> for Rc<CStr>

1.84.0 ยท Sourceยง

impl From<&mut CStr> for Arc<CStr>

1.84.0 ยท Sourceยง

impl From<&mut OsStr> for Box<OsStr>

1.84.0 ยท Sourceยง

impl From<&mut OsStr> for Rc<OsStr>

1.84.0 ยท Sourceยง

impl From<&mut OsStr> for Arc<OsStr>

1.84.0 ยท Sourceยง

impl From<&mut Path> for Box<Path>

1.84.0 ยท Sourceยง

impl From<&mut Path> for Rc<Path>

1.84.0 ยท Sourceยง

impl From<&mut Path> for Arc<Path>

Sourceยง

impl From<(u8, u8, u8)> for crossterm::style::types::color::Color

Sourceยง

impl From<(u8, u8, u8)> for crossterm::style::types::color::Color

Sourceยง

impl From<(String, Value)> for ChatCompletionFunctions

Sourceยง

impl From<(Language, Option<Script>, Option<Region>)> for LanguageIdentifier

Convert from an LSR tuple to a LanguageIdentifier.

ยงExamples

use icu::locale::{
    langid,
    subtags::{language, region, script},
    LanguageIdentifier,
};

let lang = language!("en");
let script = script!("Latn");
let region = region!("US");
assert_eq!(
    LanguageIdentifier::from((lang, Some(script), Some(region))),
    langid!("en-Latn-US")
);
Sourceยง

impl From<(Language, Option<Script>, Option<Region>)> for Locale

ยงExamples

use icu::locale::Locale;
use icu::locale::{
    locale,
    subtags::{language, region, script},
};

assert_eq!(
    Locale::from((
        language!("en"),
        Some(script!("Latn")),
        Some(region!("US"))
    )),
    locale!("en-Latn-US")
);
Sourceยง

impl From<OpenAIModels> for String

Sourceยง

impl From<Option<Region>> for LanguageIdentifier

ยงExamples

use icu::locale::{langid, subtags::region, LanguageIdentifier};

assert_eq!(
    LanguageIdentifier::from(Some(region!("US"))),
    langid!("und-US")
);
Sourceยง

impl From<Option<Region>> for Locale

ยงExamples

use icu::locale::Locale;
use icu::locale::{locale, subtags::region};

assert_eq!(Locale::from(Some(region!("US"))), locale!("und-US"));
Sourceยง

impl From<Option<Script>> for LanguageIdentifier

ยงExamples

use icu::locale::{langid, subtags::script, LanguageIdentifier};

assert_eq!(
    LanguageIdentifier::from(Some(script!("latn"))),
    langid!("und-Latn")
);
Sourceยง

impl From<Option<Script>> for Locale

ยงExamples

use icu::locale::Locale;
use icu::locale::{locale, subtags::script};

assert_eq!(Locale::from(Some(script!("latn"))), locale!("und-Latn"));
Sourceยง

impl From<Option<Level>> for LevelFilter

1.45.0 ยท Sourceยง

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

1.45.0 ยท Sourceยง

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

1.45.0 ยท Sourceยง

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

1.45.0 ยท Sourceยง

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

Sourceยง

impl From<TryReserveErrorKind> for TryReserveError

Sourceยง

impl From<AsciiChar> for char

Sourceยง

impl From<AsciiChar> for u8

Sourceยง

impl From<AsciiChar> for u16

Sourceยง

impl From<AsciiChar> for u32

Sourceยง

impl From<AsciiChar> for u64

Sourceยง

impl From<AsciiChar> for u128

1.36.0 ยท Sourceยง

impl From<Infallible> for TryFromSliceError

1.34.0 ยท Sourceยง

impl From<Infallible> for TryFromIntError

Sourceยง

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

Sourceยง

impl From<IpAddr> for IpNet

Sourceยง

impl From<IpAddr> for rustls_pki_types::server_name::IpAddr

Sourceยง

impl From<IpAddr> for ServerName<'_>

Sourceยง

impl From<SocketAddr> for SockAddr

Sourceยง

impl From<VarError> for kernelx::core::Error

Sourceยง

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

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<OpenAIError> for kernelx::core::Error

Sourceยง

impl From<ChatCompletionRequestAssistantMessageContent> for ChatCompletionRequestAssistantMessage

Sourceยง

impl From<ChatCompletionRequestSystemMessageContent> for ChatCompletionRequestSystemMessage

Sourceยง

impl From<ChatCompletionRequestUserMessageContent> for ChatCompletionRequestUserMessage

Sourceยง

impl From<DecodeError> for DecodeSliceError

Sourceยง

impl From<WeightedRelation> for (RelationalOperator, f64)

Sourceยง

impl From<KeyCode> for crossterm::event::KeyEvent

Sourceยง

impl From<KeyCode> for crossterm::event::KeyEvent

Sourceยง

impl From<Attribute> for crossterm::style::attributes::Attributes

Sourceยง

impl From<Attribute> for crossterm::style::attributes::Attributes

Sourceยง

impl From<Colored> for crossterm::style::types::colors::Colors

Sourceยง

impl From<Colored> for crossterm::style::types::colors::Colors

Sourceยง

impl From<EventStreamError<Error>> for reqwest_eventsource::error::Error

Sourceยง

impl From<GeneralCategory> for GeneralCategoryGroup

Sourceยง

impl From<Color> for crossterm::style::types::color::Color

Sourceยง

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

Sourceยง

impl From<IpAddr> for ServerName<'_>

Sourceยง

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

Sourceยง

impl From<EncryptError> for EarlyDataError

Sourceยง

impl From<AlertDescription> for u8

Sourceยง

impl From<CertificateCompressionAlgorithm> for u16

Sourceยง

impl From<CipherSuite> for u16

Sourceยง

impl From<ContentType> for u8

Sourceยง

impl From<HandshakeType> for u8

Sourceยง

impl From<ProtocolVersion> for u16

Sourceยง

impl From<SignatureAlgorithm> for u8

Sourceยง

impl From<SignatureScheme> for u16

Sourceยง

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

Sourceยง

impl From<CertRevocationListError> for VerifierBuilderError

Sourceยง

impl From<CertificateError> for AlertDescription

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<HashAlgorithm> for u8

Sourceยง

impl From<NamedGroup> for u16

Sourceยง

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

1.68.0 ยท Sourceยง

impl From<bool> for f16

1.68.0 ยท Sourceยง

impl From<bool> for f32

1.68.0 ยท Sourceยง

impl From<bool> for f64

1.68.0 ยท Sourceยง

impl From<bool> for f128

1.28.0 ยท Sourceยง

impl From<bool> for i8

1.28.0 ยท Sourceยง

impl From<bool> for i16

1.28.0 ยท Sourceยง

impl From<bool> for i32

1.28.0 ยท Sourceยง

impl From<bool> for i64

1.28.0 ยท Sourceยง

impl From<bool> for i128

1.28.0 ยท Sourceยง

impl From<bool> for isize

1.28.0 ยท Sourceยง

impl From<bool> for u8

1.28.0 ยท Sourceยง

impl From<bool> for u16

1.28.0 ยท Sourceยง

impl From<bool> for u32

1.28.0 ยท Sourceยง

impl From<bool> for u64

1.28.0 ยท Sourceยง

impl From<bool> for u128

1.28.0 ยท Sourceยง

impl From<bool> for usize

1.24.0 ยท Sourceยง

impl From<bool> for AtomicBool

1.13.0 ยท Sourceยง

impl From<char> for u32

1.51.0 ยท Sourceยง

impl From<char> for u64

1.51.0 ยท Sourceยง

impl From<char> for u128

1.46.0 ยท Sourceยง

impl From<char> for String

Sourceยง

impl From<char> for PotentialCodePoint

1.6.0 ยท Sourceยง

impl From<f16> for f64

1.6.0 ยท Sourceยง

impl From<f16> for f128

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<f32> for f64

1.6.0 ยท Sourceยง

impl From<f32> for f128

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<f64> for f128

Sourceยง

impl From<f64> for Expression

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<i8> for f16

1.6.0 ยท Sourceยง

impl From<i8> for f32

1.6.0 ยท Sourceยง

impl From<i8> for f64

1.6.0 ยท Sourceยง

impl From<i8> for f128

1.5.0 ยท Sourceยง

impl From<i8> for i16

1.5.0 ยท Sourceยง

impl From<i8> for i32

1.5.0 ยท Sourceยง

impl From<i8> for i64

1.26.0 ยท Sourceยง

impl From<i8> for i128

1.5.0 ยท Sourceยง

impl From<i8> for isize

1.34.0 ยท Sourceยง

impl From<i8> for AtomicI8

Sourceยง

impl From<i8> for Number

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<i16> for f32

1.6.0 ยท Sourceยง

impl From<i16> for f64

1.6.0 ยท Sourceยง

impl From<i16> for f128

1.5.0 ยท Sourceยง

impl From<i16> for i32

1.5.0 ยท Sourceยง

impl From<i16> for i64

1.26.0 ยท Sourceยง

impl From<i16> for i128

1.26.0 ยท Sourceยง

impl From<i16> for isize

1.34.0 ยท Sourceยง

impl From<i16> for AtomicI16

Sourceยง

impl From<i16> for HeaderValue

Sourceยง

impl From<i16> for Number

Sourceยง

impl From<i16> for RawBytesULE<2>

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<i32> for f64

1.6.0 ยท Sourceยง

impl From<i32> for f128

1.5.0 ยท Sourceยง

impl From<i32> for i64

1.26.0 ยท Sourceยง

impl From<i32> for i128

1.34.0 ยท 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 Protocol

Sourceยง

impl From<i32> for Type

Sourceยง

impl From<i32> for SignalKind

Sourceยง

impl From<i32> for RawBytesULE<4>

Sourceยง

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

1.26.0 ยท Sourceยง

impl From<i64> for i128

1.34.0 ยท Sourceยง

impl From<i64> for AtomicI64

Sourceยง

impl From<i64> for HeaderValue

Sourceยง

impl From<i64> for Number

Sourceยง

impl From<i64> for RawBytesULE<8>

Sourceยง

impl From<i128> for RawBytesULE<16>

Sourceยง

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

1.23.0 ยท Sourceยง

impl From<isize> for AtomicIsize

Sourceยง

impl From<isize> for HeaderValue

Sourceยง

impl From<isize> for Number

1.34.0 ยท Sourceยง

impl From<!> for Infallible

Sourceยง

impl From<!> for TryFromIntError

Sourceยง

impl From<u8> for AlertDescription

Sourceยง

impl From<u8> for ContentType

Sourceยง

impl From<u8> for HandshakeType

Sourceยง

impl From<u8> for SignatureAlgorithm

Sourceยง

impl From<u8> for HashAlgorithm

Sourceยง

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

1.13.0 ยท Sourceยง

impl From<u8> for char

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

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

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

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

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

1.6.0 ยท Sourceยง

impl From<u8> for f16

1.6.0 ยท Sourceยง

impl From<u8> for f32

1.6.0 ยท Sourceยง

impl From<u8> for f64

1.6.0 ยท Sourceยง

impl From<u8> for f128

1.5.0 ยท Sourceยง

impl From<u8> for i16

1.5.0 ยท Sourceยง

impl From<u8> for i32

1.5.0 ยท Sourceยง

impl From<u8> for i64

1.26.0 ยท Sourceยง

impl From<u8> for i128

1.26.0 ยท Sourceยง

impl From<u8> for isize

1.5.0 ยท Sourceยง

impl From<u8> for u16

1.5.0 ยท Sourceยง

impl From<u8> for u32

1.5.0 ยท Sourceยง

impl From<u8> for u64

1.26.0 ยท Sourceยง

impl From<u8> for u128

1.5.0 ยท Sourceยง

impl From<u8> for usize

1.34.0 ยท Sourceยง

impl From<u8> for AtomicU8

1.61.0 ยท Sourceยง

impl From<u8> for ExitCode

Sourceยง

impl From<u8> for PortBuilder<'_>

Sourceยง

impl From<u8> for Number

Sourceยง

impl From<u8> for Choice

Sourceยง

impl From<u16> for CertificateCompressionAlgorithm

Sourceยง

impl From<u16> for CipherSuite

Sourceยง

impl From<u16> for ProtocolVersion

Sourceยง

impl From<u16> for SignatureScheme

Sourceยง

impl From<u16> for NamedGroup

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<u16> for f32

1.6.0 ยท Sourceยง

impl From<u16> for f64

1.6.0 ยท Sourceยง

impl From<u16> for f128

1.5.0 ยท Sourceยง

impl From<u16> for i32

1.5.0 ยท Sourceยง

impl From<u16> for i64

1.26.0 ยท Sourceยง

impl From<u16> for i128

1.5.0 ยท Sourceยง

impl From<u16> for u32

1.5.0 ยท Sourceยง

impl From<u16> for u64

1.26.0 ยท Sourceยง

impl From<u16> for u128

1.26.0 ยท Sourceยง

impl From<u16> for usize

1.34.0 ยท Sourceยง

impl From<u16> for AtomicU16

Sourceยง

impl From<u16> for HeaderValue

Sourceยง

impl From<u16> for PortBuilder<'_>

Sourceยง

impl From<u16> for Number

Sourceยง

impl From<u16> for RawBytesULE<2>

Sourceยง

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

1.6.0 ยท Sourceยง

impl From<u32> for f64

1.6.0 ยท Sourceยง

impl From<u32> for f128

1.5.0 ยท Sourceยง

impl From<u32> for i64

1.26.0 ยท Sourceยง

impl From<u32> for i128

1.5.0 ยท Sourceยง

impl From<u32> for u64

1.26.0 ยท Sourceยง

impl From<u32> for u128

1.1.0 ยท Sourceยง

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

1.34.0 ยท Sourceยง

impl From<u32> for AtomicU32

Sourceยง

impl From<u32> for HeaderValue

Sourceยง

impl From<u32> for GeneralCategoryGroup

Sourceยง

impl From<u32> for Number

Sourceยง

impl From<u32> for RawBytesULE<4>

Sourceยง

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

1.26.0 ยท Sourceยง

impl From<u64> for i128

1.26.0 ยท Sourceยง

impl From<u64> for u128

1.34.0 ยท Sourceยง

impl From<u64> for AtomicU64

Sourceยง

impl From<u64> for HeaderValue

Sourceยง

impl From<u64> for Number

Sourceยง

impl From<u64> for RawBytesULE<8>

1.26.0 ยท Sourceยง

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

Sourceยง

impl From<u128> for RawBytesULE<16>

Sourceยง

impl From<()> for serde_json::value::Value

Sourceยง

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

1.23.0 ยท Sourceยง

impl From<usize> for AtomicUsize

Sourceยง

impl From<usize> for HeaderValue

Sourceยง

impl From<usize> for Number

1.18.0 ยท Sourceยง

impl From<Box<str>> for String

Sourceยง

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

1.18.0 ยท Sourceยง

impl From<Box<CStr>> for CString

1.18.0 ยท Sourceยง

impl From<Box<OsStr>> for OsString

1.18.0 ยท Sourceยง

impl From<Box<Path>> for PathBuf

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<ByteString> for Vec<u8>

1.78.0 ยท Sourceยง

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

1.20.0 ยท Sourceยง

impl From<CString> for Box<CStr>

1.24.0 ยท Sourceยง

impl From<CString> for Rc<CStr>

1.24.0 ยท Sourceยง

impl From<CString> for Arc<CStr>

1.7.0 ยท Sourceยง

impl From<CString> for Vec<u8>

1.0.0 ยท Sourceยง

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

1.62.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<String> for ChatCompletionRequestAssistantMessageContent

Sourceยง

impl From<String> for ChatCompletionRequestMessageContentPartRefusalBuilderError

Sourceยง

impl From<String> for ChatCompletionRequestSystemMessageContent

Sourceยง

impl From<String> for ChatCompletionRequestToolMessageContent

Sourceยง

impl From<String> for ChatCompletionRequestUserMessageContent

Sourceยง

impl From<String> for ChatCompletionToolChoiceOption

Sourceยง

impl From<String> for Prompt

Sourceยง

impl From<String> for Stop

Sourceยง

impl From<String> for EmbeddingInput

Sourceยง

impl From<String> for CreateMessageRequestContent

Sourceยง

impl From<String> for ModerationInput

Sourceยง

impl From<String> for iri_string::template::simple_context::Value

Sourceยง

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

1.20.0 ยท Sourceยง

impl From<String> for Box<str>

1.21.0 ยท Sourceยง

impl From<String> for Rc<str>

1.21.0 ยท Sourceยง

impl From<String> for Arc<str>

1.14.0 ยท Sourceยง

impl From<String> for Vec<u8>

1.0.0 ยท Sourceยง

impl From<String> for OsString

1.0.0 ยท Sourceยง

impl From<String> for PathBuf

Sourceยง

impl From<String> for ChatCompletionNamedToolChoice

Sourceยง

impl From<String> for ChatCompletionRequestAssistantMessage

Sourceยง

impl From<String> for ChatCompletionRequestMessageContentPartText

Sourceยง

impl From<String> for ChatCompletionRequestSystemMessage

Sourceยง

impl From<String> for ChatCompletionRequestUserMessage

Sourceยง

impl From<String> for FunctionName

Sourceยง

impl From<String> for ImageUrl

Sourceยง

impl From<String> for Bytes

Sourceยง

impl From<String> for Body

1.62.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Arc<ClientConfig>> for TlsConnector

Sourceยง

impl From<Arc<ServerConfig>> for TlsAcceptor

Sourceยง

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

Sourceยง

impl From<Vec<&str>> for Prompt

Sourceยง

impl From<Vec<&str>> for Stop

Sourceยง

impl From<Vec<&str>> for EmbeddingInput

Sourceยง

impl From<Vec<&str>> for ModerationInput

Sourceยง

impl From<Vec<&String>> for Prompt

Sourceยง

impl From<Vec<&String>> for Stop

Sourceยง

impl From<Vec<&String>> for EmbeddingInput

Sourceยง

impl From<Vec<&String>> for ModerationInput

Sourceยง

impl From<Vec<ChatCompletionRequestUserMessageContentPart>> for ChatCompletionRequestUserMessageContent

Sourceยง

impl From<Vec<u8>> for Bytes

Sourceยง

impl From<Vec<u8>> for Body

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Vec<u8>> for HpkePrivateKey

Sourceยง

impl From<Vec<u8>> for SharedSecret

Sourceยง

impl From<Vec<u8>> for DistinguishedName

Sourceยง

impl From<Vec<u16>> for Prompt

Sourceยง

impl From<Vec<u32>> for EmbeddingInput

Sourceยง

impl From<Vec<u32>> for IndexVec

Sourceยง

impl From<Vec<usize>> for IndexVec

Sourceยง

impl From<Vec<String>> for Prompt

Sourceยง

impl From<Vec<String>> for Stop

Sourceยง

impl From<Vec<String>> for EmbeddingInput

Sourceยง

impl From<Vec<String>> for ModerationInput

Sourceยง

impl From<Vec<Vec<u16>>> for Prompt

Sourceยง

impl From<Vec<Vec<u32>>> for EmbeddingInput

1.43.0 ยท Sourceยง

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

Sourceยง

impl From<LayoutError> for TryReserveErrorKind

Sourceยง

impl From<LayoutError> for CollectionAllocErr

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

Sourceยง

impl From<Error> for ProcessingError

1.16.0 ยท Sourceยง

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

Sourceยง

impl From<Ipv4Addr> for rustls_pki_types::server_name::IpAddr

Sourceยง

impl From<Ipv4Addr> for ServerName<'_>

1.1.0 ยท Sourceยง

impl From<Ipv4Addr> for u32

Sourceยง

impl From<Ipv4Addr> for Ipv4Net

Sourceยง

impl From<Ipv4Addr> for rustls_pki_types::server_name::Ipv4Addr

1.16.0 ยท Sourceยง

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

Sourceยง

impl From<Ipv6Addr> for rustls_pki_types::server_name::IpAddr

Sourceยง

impl From<Ipv6Addr> for ServerName<'_>

1.26.0 ยท Sourceยง

impl From<Ipv6Addr> for u128

Sourceยง

impl From<Ipv6Addr> for Ipv6Net

Sourceยง

impl From<Ipv6Addr> for rustls_pki_types::server_name::Ipv6Addr

1.16.0 ยท Sourceยง

impl From<SocketAddrV4> for core::net::socket_addr::SocketAddr

Sourceยง

impl From<SocketAddrV4> for SockAddr

1.16.0 ยท Sourceยง

impl From<SocketAddrV6> for core::net::socket_addr::SocketAddr

Sourceยง

impl From<SocketAddrV6> for SockAddr

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

1.41.0 ยท Sourceยง

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

1.41.0 ยท Sourceยง

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

Sourceยง

impl From<Alignment> for usize

Sourceยง

impl From<Alignment> for NonZero<usize>

1.20.0 ยท Sourceยง

impl From<OsString> for Box<OsStr>

1.24.0 ยท Sourceยง

impl From<OsString> for Rc<OsStr>

1.24.0 ยท Sourceยง

impl From<OsString> for Arc<OsStr>

1.0.0 ยท Sourceยง

impl From<OsString> for PathBuf

1.63.0 ยท Sourceยง

impl From<File> for OwnedFd

1.20.0 ยท Sourceยง

impl From<File> for Stdio

Sourceยง

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

Sourceยง

impl From<OpenOptions> for OpenOptions

Sourceยง

impl From<Error> for AnyDelimiterCodecError

Sourceยง

impl From<Error> for LinesCodecError

1.87.0 ยท Sourceยง

impl From<PipeReader> for OwnedFd

1.87.0 ยท Sourceยง

impl From<PipeReader> for Stdio

1.87.0 ยท Sourceยง

impl From<PipeWriter> for OwnedFd

1.87.0 ยท Sourceยง

impl From<PipeWriter> for Stdio

1.74.0 ยท Sourceยง

impl From<Stderr> for Stdio

1.74.0 ยท Sourceยง

impl From<Stdout> for Stdio

1.63.0 ยท Sourceยง

impl From<TcpListener> for OwnedFd

Sourceยง

impl From<TcpListener> for Socket

1.63.0 ยท Sourceยง

impl From<TcpStream> for OwnedFd

Sourceยง

impl From<TcpStream> for Socket

1.63.0 ยท Sourceยง

impl From<UdpSocket> for OwnedFd

Sourceยง

impl From<UdpSocket> for Socket

1.63.0 ยท Sourceยง

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

1.87.0 ยท Sourceยง

impl From<OwnedFd> for PipeReader

1.87.0 ยท Sourceยง

impl From<OwnedFd> for PipeWriter

1.63.0 ยท Sourceยง

impl From<OwnedFd> for std::net::tcp::TcpListener

1.63.0 ยท Sourceยง

impl From<OwnedFd> for std::net::tcp::TcpStream

1.63.0 ยท Sourceยง

impl From<OwnedFd> for std::net::udp::UdpSocket

Sourceยง

impl From<OwnedFd> for PidFd

1.63.0 ยท Sourceยง

impl From<OwnedFd> for std::os::unix::net::datagram::UnixDatagram

1.63.0 ยท Sourceยง

impl From<OwnedFd> for std::os::unix::net::listener::UnixListener

1.63.0 ยท Sourceยง

impl From<OwnedFd> for std::os::unix::net::stream::UnixStream

1.74.0 ยท Sourceยง

impl From<OwnedFd> for ChildStderr

Creates a ChildStderr from the provided OwnedFd.

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

1.74.0 ยท Sourceยง

impl From<OwnedFd> for ChildStdin

Creates a ChildStdin from the provided OwnedFd.

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

1.74.0 ยท Sourceยง

impl From<OwnedFd> for ChildStdout

Creates a ChildStdout from the provided OwnedFd.

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

1.63.0 ยท Sourceยง

impl From<OwnedFd> for Stdio

Sourceยง

impl From<OwnedFd> for mio::net::tcp::listener::TcpListener

Sourceยง

impl From<OwnedFd> for mio::net::tcp::stream::TcpStream

Sourceยง

impl From<OwnedFd> for mio::net::udp::UdpSocket

Sourceยง

impl From<OwnedFd> for mio::net::uds::datagram::UnixDatagram

Sourceยง

impl From<OwnedFd> for mio::net::uds::listener::UnixListener

Sourceยง

impl From<OwnedFd> for mio::net::uds::stream::UnixStream

Sourceยง

impl From<OwnedFd> for mio::sys::unix::pipe::Receiver

Sourceยง

impl From<OwnedFd> for mio::sys::unix::pipe::Sender

Sourceยง

impl From<OwnedFd> for Socket

Sourceยง

impl From<PidFd> for OwnedFd

Sourceยง

impl From<SocketAddr> for tokio::net::unix::socketaddr::SocketAddr

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>

1.24.0 ยท Sourceยง

impl From<PathBuf> for Rc<Path>

1.24.0 ยท Sourceยง

impl From<PathBuf> for Arc<Path>

1.14.0 ยท Sourceยง

impl From<PathBuf> for OsString

1.63.0 ยท Sourceยง

impl From<ChildStderr> for OwnedFd

1.20.0 ยท Sourceยง

impl From<ChildStderr> for Stdio

Sourceยง

impl From<ChildStderr> for mio::sys::unix::pipe::Receiver

ยงNotes

The underlying pipe is not set to non-blocking.

Sourceยง

impl From<ChildStderr> for mio::sys::unix::pipe::Receiver

ยงNotes

The underlying pipe is not set to non-blocking.

1.63.0 ยท Sourceยง

impl From<ChildStdin> for OwnedFd

1.20.0 ยท Sourceยง

impl From<ChildStdin> for Stdio

Sourceยง

impl From<ChildStdin> for mio::sys::unix::pipe::Sender

ยงNotes

The underlying pipe is not set to non-blocking.

Sourceยง

impl From<ChildStdin> for mio::sys::unix::pipe::Sender

ยงNotes

The underlying pipe is not set to non-blocking.

1.63.0 ยท Sourceยง

impl From<ChildStdout> for OwnedFd

1.20.0 ยท Sourceยง

impl From<ChildStdout> for Stdio

Sourceยง

impl From<ChildStdout> for mio::sys::unix::pipe::Receiver

ยงNotes

The underlying pipe is not set to non-blocking.

Sourceยง

impl From<ChildStdout> for mio::sys::unix::pipe::Receiver

ยงNotes

The underlying pipe is not set to non-blocking.

Sourceยง

impl From<Command> for Command

Sourceยง

impl From<ExitStatusError> for ExitStatus

1.24.0 ยท Sourceยง

impl From<RecvError> for RecvTimeoutError

1.24.0 ยท Sourceยง

impl From<RecvError> for TryRecvError

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Error> for kernelx::core::Error

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Error> for Box<dyn Error>

Sourceยง

impl From<AssistantToolCodeInterpreterResources> for AssistantToolResources

Sourceยง

impl From<AssistantToolCodeInterpreterResources> for CreateAssistantToolResources

Sourceยง

impl From<AssistantToolFileSearchResources> for AssistantToolResources

Sourceยง

impl From<AssistantToolsFileSearch> for AssistantTools

Sourceยง

impl From<AssistantToolsFunction> for AssistantTools

Sourceยง

impl From<CreateAssistantToolFileSearchResources> for CreateAssistantToolResources

Sourceยง

impl From<ChatCompletionRequestAssistantMessage> for ChatCompletionRequestMessage

Sourceยง

impl From<ChatCompletionRequestFunctionMessage> for ChatCompletionRequestMessage

Sourceยง

impl From<ChatCompletionRequestMessageContentPartImage> for ChatCompletionRequestUserMessageContentPart

Sourceยง

impl From<ChatCompletionRequestMessageContentPartText> for ChatCompletionRequestUserMessageContentPart

Sourceยง

impl From<ChatCompletionRequestSystemMessage> for ChatCompletionRequestMessage

Sourceยง

impl From<ChatCompletionRequestToolMessage> for ChatCompletionRequestMessage

Sourceยง

impl From<ChatCompletionRequestUserMessage> for ChatCompletionRequestMessage

Sourceยง

impl From<FunctionObject> for AssistantTools

Sourceยง

impl From<FunctionObject> for AssistantToolsFunction

Sourceยง

impl From<Base64EmbeddingVector> for Vec<f32>

Sourceยง

impl From<Bytes> for Vec<u8>

Sourceยง

impl From<Bytes> for BytesMut

Sourceยง

impl From<Bytes> for Body

Sourceยง

impl From<BytesMut> for Vec<u8>

Sourceยง

impl From<BytesMut> for Bytes

Sourceยง

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

Sourceยง

impl From<Term> for Expression

Sourceยง

impl From<Variable> for Expression

Sourceยง

impl From<UninitializedFieldError> for OpenAIError

Sourceยง

impl From<UninitializedFieldError> for ChatCompletionRequestMessageContentPartRefusalBuilderError

Sourceยง

impl From<Event> for Event

Sourceยง

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

Sourceยง

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

Sourceยง

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

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 Uri

Convert an Authority into a Uri.

Sourceยง

impl From<PathAndQuery> for Uri

Convert a PathAndQuery into a Uri.

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Uri> for Builder

Sourceยง

impl From<Uri> for Parts

Convert a Uri into Parts

Sourceยง

impl From<ReasonPhrase> for Bytes

Sourceยง

impl From<Upgraded> for Upgraded

Sourceยง

impl From<Subtag> for TinyAsciiStr<8>

Sourceยง

impl From<Key> for TinyAsciiStr<2>

Sourceยง

impl From<Attribute> for TinyAsciiStr<8>

Sourceยง

impl From<Key> for TinyAsciiStr<2>

Sourceยง

impl From<SubdivisionSuffix> for TinyAsciiStr<4>

Sourceยง

impl From<LanguageIdentifier> for DataLocale

Sourceยง

impl From<LanguageIdentifier> for Locale

Sourceยง

impl From<Locale> for DataLocale

Sourceยง

impl From<Locale> for LanguageIdentifier

Sourceยง

impl From<CurrencyType> for icu_locale_core::extensions::unicode::value::Value

Sourceยง

impl From<NumberingSystem> for icu_locale_core::extensions::unicode::value::Value

Sourceยง

impl From<RegionOverride> for icu_locale_core::extensions::unicode::value::Value

Sourceยง

impl From<RegionalSubdivision> for icu_locale_core::extensions::unicode::value::Value

Sourceยง

impl From<TimeZoneShortId> for icu_locale_core::extensions::unicode::value::Value

Sourceยง

impl From<Language> for LanguageIdentifier

ยงExamples

use icu::locale::{langid, subtags::language, LanguageIdentifier};

assert_eq!(LanguageIdentifier::from(language!("en")), langid!("en"));
Sourceยง

impl From<Language> for Locale

ยงExamples

use icu::locale::Locale;
use icu::locale::{locale, subtags::language};

assert_eq!(Locale::from(language!("en")), locale!("en"));
Sourceยง

impl From<Language> for TinyAsciiStr<3>

Sourceยง

impl From<Region> for TinyAsciiStr<3>

Sourceยง

impl From<Script> for Subtag

Sourceยง

impl From<Script> for TinyAsciiStr<4>

Sourceยง

impl From<Subtag> for TinyAsciiStr<8>

Sourceยง

impl From<Variant> for TinyAsciiStr<8>

Sourceยง

impl From<BidiClass> for u16

Sourceยง

impl From<CanonicalCombiningClass> for u16

Sourceยง

impl From<EastAsianWidth> for u16

Sourceยง

impl From<GeneralCategoryGroup> for u32

Sourceยง

impl From<GraphemeClusterBreak> for u16

Sourceยง

impl From<HangulSyllableType> for u16

Sourceยง

impl From<IndicSyllabicCategory> for u16

Sourceยง

impl From<JoiningType> for u16

Sourceยง

impl From<LineBreak> for u16

Sourceยง

impl From<Script> for u16

Sourceยง

impl From<SentenceBreak> for u16

Sourceยง

impl From<VerticalOrientation> for u16

Sourceยง

impl From<WordBreak> for u16

Sourceยง

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

Sourceยง

impl From<Errors> for ParseError

Sourceยง

impl From<Ipv4AddrRange> for IpAddrRange

Sourceยง

impl From<Ipv6AddrRange> for IpAddrRange

Sourceยง

impl From<Ipv4Net> for IpNet

Sourceยง

impl From<Ipv4Subnets> for IpSubnets

Sourceยง

impl From<Ipv6Net> for IpNet

Sourceยง

impl From<Ipv6Subnets> for IpSubnets

Sourceยง

impl From<UriTemplateString> for Box<UriTemplateStr>

Sourceยง

impl From<UriTemplateString> for String

Sourceยง

impl From<RiAbsoluteString<UriSpec>> for RiAbsoluteString<IriSpec>

Sourceยง

impl From<RiFragmentString<UriSpec>> for RiFragmentString<IriSpec>

Sourceยง

impl From<RiString<UriSpec>> for RiString<IriSpec>

Sourceยง

impl From<RiQueryString<UriSpec>> for RiQueryString<IriSpec>

Sourceยง

impl From<RiReferenceString<UriSpec>> for RiReferenceString<IriSpec>

Sourceยง

impl From<RiRelativeString<UriSpec>> for RiRelativeString<IriSpec>

Sourceยง

impl From<winsize> for WindowSize

Sourceยง

impl From<LiteMap<Key, Value>> for Fields

Sourceยง

impl From<LiteMap<Key, Value, ShortBoxSlice<(Key, Value)>>> for Keywords

Sourceยง

impl From<TcpListener> for std::net::tcp::TcpListener

Sourceยง

impl From<TcpListener> for OwnedFd

Sourceยง

impl From<TcpStream> for std::net::tcp::TcpStream

Sourceยง

impl From<TcpStream> for OwnedFd

Sourceยง

impl From<UdpSocket> for std::net::udp::UdpSocket

Sourceยง

impl From<UdpSocket> for OwnedFd

Sourceยง

impl From<UnixDatagram> for OwnedFd

Sourceยง

impl From<UnixDatagram> for std::os::unix::net::datagram::UnixDatagram

Sourceยง

impl From<UnixListener> for OwnedFd

Sourceยง

impl From<UnixListener> for std::os::unix::net::listener::UnixListener

Sourceยง

impl From<UnixStream> for OwnedFd

Sourceยง

impl From<UnixStream> for std::os::unix::net::stream::UnixStream

Sourceยง

impl From<Receiver> for OwnedFd

Sourceยง

impl From<Sender> for OwnedFd

Sourceยง

impl From<Token> for usize

Sourceยง

impl From<Token> for usize

Sourceยง

impl From<PotentialCodePoint> for u32

Sourceยง

impl From<ChaCha8Core> for ChaCha8Rng

Sourceยง

impl From<ChaCha12Core> for ChaCha12Rng

Sourceยง

impl From<ChaCha20Core> for ChaCha20Rng

Sourceยง

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

Sourceยง

impl From<Response> for http::response::Response<Body>

A Response can be converted into a http::Response.

Sourceยง

impl From<Response> for Body

A Response can be piped as the Body of another request.

Sourceยง

impl From<Error> for OpenAIError

Sourceยง

impl From<KeyRejected> for Unspecified

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Ipv4Addr> for ServerName<'_>

Sourceยง

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

Sourceยง

impl From<Ipv6Addr> for ServerName<'_>

Sourceยง

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

Sourceยง

impl From<OwnedCertRevocationList> for CertRevocationList<'_>

Sourceยง

impl From<ClientConnection> for rustls::conn::connection::Connection

Sourceยง

impl From<EchConfig> for EchMode

Sourceยง

impl From<EchGreaseConfig> for EchMode

Sourceยง

impl From<ConnectionCommon<ServerConnectionData>> for AcceptedAlert

Sourceยง

impl From<InsufficientSizeError> for EncodeError

Sourceยง

impl From<InsufficientSizeError> for EncryptError

Sourceยง

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

Sourceยง

impl From<CertifiedKey> for SingleCertAndKey

Sourceยง

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

Sourceยง

impl From<ClientConnection> for rustls::quic::connection::Connection

Sourceยง

impl From<ServerConnection> for rustls::quic::connection::Connection

Sourceยง

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

Sourceยง

impl From<ServerConnection> for rustls::conn::connection::Connection

Sourceยง

impl From<Error> for kernelx::core::Error

Sourceยง

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

Sourceยง

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

Sourceยง

impl From<Number> for serde_json::value::Value

Sourceยง

impl From<Socket> for std::net::tcp::TcpListener

Sourceยง

impl From<Socket> for std::net::tcp::TcpStream

Sourceยง

impl From<Socket> for std::net::udp::UdpSocket

Sourceยง

impl From<Socket> for OwnedFd

Sourceยง

impl From<Socket> for std::os::unix::net::datagram::UnixDatagram

Sourceยง

impl From<Socket> for std::os::unix::net::listener::UnixListener

Sourceยง

impl From<Socket> for std::os::unix::net::stream::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<Elapsed> for std::io::error::Error

Sourceยง

impl From<File> for Body

Sourceยง

impl From<SocketAddr> for std::os::unix::net::addr::SocketAddr

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 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<EndOfInput> for Unspecified

Sourceยง

impl From<Url> for String

String conversion.

Sourceยง

impl From<vec128_storage> for [u32; 4]

Sourceยง

impl From<vec128_storage> for [u64; 2]

Sourceยง

impl From<vec128_storage> for [u128; 1]

Sourceยง

impl From<vec256_storage> for [u32; 8]

Sourceยง

impl From<vec256_storage> for [u64; 4]

Sourceยง

impl From<vec256_storage> for [u128; 2]

Sourceยง

impl From<vec512_storage> for [u32; 16]

Sourceยง

impl From<vec512_storage> for [u64; 8]

Sourceยง

impl From<vec512_storage> for [u128; 4]

Sourceยง

impl From<AlertLevel> for u8

Sourceยง

impl From<ByteStr> for Bytes

Sourceยง

impl From<CertificateStatusType> for u8

Sourceยง

impl From<CertificateType> for u8

Sourceยง

impl From<ClientCertificateType> for u8

Sourceยง

impl From<Compression> for u8

Sourceยง

impl From<Custom> for Bytes

Sourceยง

impl From<ECCurveType> for u8

Sourceยง

impl From<ECPointFormat> for u8

Sourceยง

impl From<EchClientHelloType> for u8

Sourceยง

impl From<EchVersion> for u16

Sourceยง

impl From<ErrorKind> for InvalidUri

Sourceยง

impl From<ErrorKind> for InvalidUriParts

Sourceยง

impl From<ExtensionType> for u16

Sourceยง

impl From<HeartbeatMessageType> for u8

Sourceยง

impl From<HeartbeatMode> for u8

Sourceยง

impl From<HpkeAead> for u16

Sourceยง

impl From<HpkeKdf> for u16

Sourceยง

impl From<HpkeKem> for u16

Sourceยง

impl From<KeyUpdateRequest> for u8

Sourceยง

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

Sourceยง

impl From<LengthMeasurement> for usize

Sourceยง

impl From<Message<'_>> for PlainMessage

Sourceยง

impl From<NamedCurve> for u16

Sourceยง

impl From<ParserNumber> for Number

Sourceยง

impl From<PskKeyExchangeMode> for u8

Sourceยง

impl From<PunycodeEncodeError> for ProcessingError

Sourceยง

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

Sourceยง

impl From<ServerNameType> for u8

Sourceยง

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

Sourceยง

impl From<State> for usize

Sourceยง

impl From<State> for usize

Sourceยง

impl From<Tag> for u8

Sourceยง

impl From<Tag> for u8

Sourceยง

impl From<Tag> for usize

Sourceยง

impl From<Tag> for usize

Sourceยง

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

1.17.0 ยท Sourceยง

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

1.9.0 ยท Sourceยง

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

Sourceยง

impl From<[u8; 12]> for Iv

1.17.0 ยท Sourceยง

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

1.9.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

impl From<[u8; 32]> for AeadKey

1.17.0 ยท Sourceยง

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

1.16.0 ยท Sourceยง

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

Sourceยง

impl From<[u16; 8]> for rustls_pki_types::server_name::Ipv6Addr

Sourceยง

impl From<[u32; 4]> for vec128_storage

Sourceยง

impl From<[u64; 4]> for vec256_storage

Sourceยง

impl From<u24> for usize

Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a> From<&'a ByteString> for Cow<'a, ByteStr>

1.28.0 ยท Sourceยง

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

1.28.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a> From<&'a ByteStr> for ByteString

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

Sourceยง

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

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 vec128_storage> for &'a [u32; 4]

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

1.6.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a> From<Cow<'a, str>> for serde_json::value::Value

1.14.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a> From<Cow<'a, str>> for UniCase<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<Box<dyn Future<Output = ()> + 'a>> for LocalFutureObj<'a, ()>

Sourceยง

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

Sourceยง

impl<'a> From<ByteString> for Cow<'a, ByteStr>

1.28.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

1.6.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

impl<'a> From<String> for Span<'a>

Sourceยง

impl<'a> From<String> for Spans<'a>

Sourceยง

impl<'a> From<String> for Text<'a>

Sourceยง

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

Sourceยง

impl<'a> From<Vec<Span<'a>>> for Spans<'a>

Sourceยง

impl<'a> From<Vec<Spans<'a>>> for Text<'a>

Sourceยง

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

Sourceยง

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

1.28.0 ยท Sourceยง

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

1.6.0 ยท Sourceยง

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

Sourceยง

impl<'a> From<UriTemplateString> for Cow<'a, UriTemplateStr>

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a> From<Span<'a>> for Spans<'a>

Sourceยง

impl<'a> From<Span<'a>> for Text<'a>

Sourceยง

impl<'a> From<Spans<'a>> for String

Sourceยง

impl<'a> From<Spans<'a>> for Text<'a>

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a, 'b> From<&'a mut Context<'b>> for Painter<'a, 'b>

1.22.0 ยท Sourceยง

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

1.22.0 ยท Sourceยง

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

Sourceยง

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

1.45.0 ยท Sourceยง

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

1.45.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a, K0, K1, V> From<ZeroMap2dBorrowed<'a, K0, K1, V>> for ZeroMap2d<'a, K0, K1, V>
where K0: ZeroMapKV<'a> + ?Sized, K1: ZeroMapKV<'a> + ?Sized, V: ZeroMapKV<'a> + ?Sized,

Sourceยง

impl<'a, K, V> From<ZeroMapBorrowed<'a, K, V>> for ZeroMap<'a, K, V>
where K: ZeroMapKV<'a> + ?Sized, V: ZeroMapKV<'a> + ?Sized,

Sourceยง

impl<'a, S> From<&'a RiAbsoluteStr<S>> for &'a str
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiAbsoluteStr<S>> for &'a RiStr<S>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiAbsoluteStr<S>> for &'a RiReferenceStr<S>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiAbsoluteStr<S>> for Cow<'a, RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiAbsoluteStr<S>> for MappedToUri<'a, RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiAbsoluteString<S>> for MappedToUri<'a, RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiFragmentStr<S>> for &'a str
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiFragmentStr<S>> for Cow<'a, RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiFragmentStr<S>> for MappedToUri<'a, RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiFragmentString<S>> for MappedToUri<'a, RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiStr<S>> for &'a str
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiStr<S>> for &'a RiReferenceStr<S>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiStr<S>> for Cow<'a, RiStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiStr<S>> for MappedToUri<'a, RiStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiString<S>> for MappedToUri<'a, RiStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiQueryStr<S>> for &'a str
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiQueryStr<S>> for Cow<'a, RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiQueryStr<S>> for MappedToUri<'a, RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiQueryString<S>> for MappedToUri<'a, RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiReferenceStr<S>> for &'a str
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiReferenceStr<S>> for Cow<'a, RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiReferenceStr<S>> for MappedToUri<'a, RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiReferenceString<S>> for MappedToUri<'a, RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiRelativeStr<S>> for &'a str
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiRelativeStr<S>> for &'a RiReferenceStr<S>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiRelativeStr<S>> for Cow<'a, RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiRelativeStr<S>> for MappedToUri<'a, RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<&'a RiRelativeString<S>> for MappedToUri<'a, RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<RiAbsoluteString<S>> for Cow<'a, RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<RiFragmentString<S>> for Cow<'a, RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<RiString<S>> for Cow<'a, RiStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<RiQueryString<S>> for Cow<'a, RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<RiReferenceString<S>> for Cow<'a, RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<'a, S> From<RiRelativeString<S>> for Cow<'a, RiRelativeStr<S>>
where S: Spec,

1.30.0 ยท Sourceยง

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

1.8.0 ยท Sourceยง

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

1.28.0 ยท Sourceยง

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

Sourceยง

impl<'a, T> From<&'a [<T as AsULE>::ULE]> for ZeroVec<'a, T>
where T: AsULE,

1.30.0 ยท Sourceยง

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

1.14.0 ยท Sourceยง

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

Sourceยง

impl<'a, T> From<Vec<<T as AsULE>::ULE>> for ZeroVec<'a, T>
where T: AsULE,

1.8.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

impl<'a, T> From<T> for ratatui::widgets::table::Cell<'a>
where T: Into<Text<'a>>,

Sourceยง

impl<'a, T, F> From<&'a VarZeroSlice<T, F>> for VarZeroVecOwned<T, F>
where T: VarULE + ?Sized, F: VarZeroVecFormat,

Sourceยง

impl<'a, T, F> From<&'a VarZeroSlice<T, F>> for VarZeroVec<'a, T, F>
where T: ?Sized,

Sourceยง

impl<'a, T, F> From<VarZeroVecOwned<T, F>> for VarZeroVec<'a, T, F>
where T: ?Sized,

Sourceยง

impl<'a, T, F> From<VarZeroVec<'a, T, F>> for VarZeroVecOwned<T, F>
where T: VarULE + ?Sized, F: VarZeroVecFormat,

1.77.0 ยท Sourceยง

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

Sourceยง

impl<'a, V> From<&'a V> for VarZeroCow<'a, V>
where V: VarULE + ?Sized,

Sourceยง

impl<'a, V> From<Box<V>> for VarZeroCow<'a, V>
where V: VarULE + ?Sized,

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<'data> From<&'data CodePointInversionListULE> for CodePointInversionList<'data>

Sourceยง

impl<'data> From<&'data CodePointInversionListAndStringListULE> for CodePointInversionListAndStringList<'data>

Sourceยง

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

Creates a new BorrowedBuf from a fully initialized slice.

Sourceยง

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

Creates a new BorrowedBuf from an uninitialized buffer.

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

Sourceยง

impl<'key> From<Key<'key>> for Cow<'static, str>

Sourceยง

impl<'l> From<&'l Subtag> for &'l str

Sourceยง

impl<'l> From<&'l Key> for &'l str

Sourceยง

impl<'l> From<&'l Attribute> for &'l str

Sourceยง

impl<'l> From<&'l Key> for &'l str

Sourceยง

impl<'l> From<&'l SubdivisionSuffix> for &'l str

Sourceยง

impl<'l> From<&'l Language> for &'l str

Sourceยง

impl<'l> From<&'l Region> for &'l str

Sourceยง

impl<'l> From<&'l Script> for &'l str

Sourceยง

impl<'l> From<&'l Subtag> for &'l str

Sourceยง

impl<'l> From<&'l Variant> for &'l str

Sourceยง

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

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

1.19.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<A, T, F> From<&[A]> for VarZeroVec<'static, T, F>

Sourceยง

impl<A, T, F> From<&Vec<A>> for VarZeroVec<'static, T, F>

Sourceยง

impl<A, T, F, const N: usize> From<&[A; N]> for VarZeroVec<'static, T, F>

Sourceยง

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

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>> for Full<D>
where D: Buf + From<Vec<u8>>,

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<Data> From<ConnectionCore<Data>> for rustls::conn::ConnectionCommon<Data>

Sourceยง

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

Sourceยง

impl<Data> From<ConnectionCore<Data>> for rustls::quic::connection::ConnectionCommon<Data>

Sourceยง

impl<E> From<Error<&str>> for EventStreamError<E>

Sourceยง

impl<E> From<E> for backoff::error::Error<E>

By default all errors are transient. Permanent errors can be constructed explicitly. This implementation is for making the question mark operator (?) and the try! macro to work.

Sourceยง

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

Sourceยง

impl<E> From<E> for anyhow::Error
where E: Error + Send + Sync + 'static,

Sourceยง

impl<E> From<Utf8StreamError<E>> for EventStreamError<E>

Sourceยง

impl<H, C> From<(H, C)> for HttpsConnector<H>
where C: Into<Arc<ClientConfig>>,

1.17.0 ยท Sourceยง

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

1.56.0 ยท Sourceยง

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

1.56.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<P> From<P> for AudioInput
where P: AsRef<Path>,

Sourceยง

impl<P> From<P> for FileInput
where P: AsRef<Path>,

Sourceยง

impl<P> From<P> for ImageInput
where P: AsRef<Path>,

Sourceยง

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

Sourceยง

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

Sourceยง

impl<R, T> From<T> for lock_api::rwlock::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>

Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<S> From<&Built<'_, RiAbsoluteStr<S>>> for RiAbsoluteString<S>
where S: Spec,

Sourceยง

impl<S> From<&Built<'_, RiStr<S>>> for RiString<S>
where S: Spec,

Sourceยง

impl<S> From<&Built<'_, RiReferenceStr<S>>> for RiReferenceString<S>
where S: Spec,

Sourceยง

impl<S> From<&Built<'_, RiRelativeStr<S>>> for RiRelativeString<S>
where S: Spec,

Sourceยง

impl<S> From<&Normalized<'_, RiAbsoluteStr<S>>> for RiAbsoluteString<S>
where S: Spec,

Sourceยง

impl<S> From<&Normalized<'_, RiStr<S>>> for RiString<S>
where S: Spec,

Sourceยง

impl<S> From<&RiAbsoluteStr<S>> for Box<RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiAbsoluteStr<S>> for Rc<RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiAbsoluteStr<S>> for Arc<RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiAbsoluteStr<S>> for RiAbsoluteString<S>
where S: Spec,

Sourceยง

impl<S> From<&RiFragmentStr<S>> for Box<RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiFragmentStr<S>> for Rc<RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiFragmentStr<S>> for Arc<RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiFragmentStr<S>> for RiFragmentString<S>
where S: Spec,

Sourceยง

impl<S> From<&RiStr<S>> for Box<RiStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiStr<S>> for Rc<RiStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiStr<S>> for Arc<RiStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiStr<S>> for RiString<S>
where S: Spec,

Sourceยง

impl<S> From<&RiQueryStr<S>> for Box<RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiQueryStr<S>> for Rc<RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiQueryStr<S>> for Arc<RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiQueryStr<S>> for RiQueryString<S>
where S: Spec,

Sourceยง

impl<S> From<&RiReferenceStr<S>> for Box<RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiReferenceStr<S>> for Rc<RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiReferenceStr<S>> for Arc<RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiReferenceStr<S>> for RiReferenceString<S>
where S: Spec,

Sourceยง

impl<S> From<&RiRelativeStr<S>> for Box<RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiRelativeStr<S>> for Rc<RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiRelativeStr<S>> for Arc<RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<S> From<&RiRelativeStr<S>> for RiRelativeString<S>
where S: Spec,

Sourceยง

impl<S> From<Built<'_, RiAbsoluteStr<S>>> for RiAbsoluteString<S>
where S: Spec,

Sourceยง

impl<S> From<Built<'_, RiStr<S>>> for RiString<S>
where S: Spec,

Sourceยง

impl<S> From<Built<'_, RiReferenceStr<S>>> for RiReferenceString<S>
where S: Spec,

Sourceยง

impl<S> From<Built<'_, RiRelativeStr<S>>> for RiRelativeString<S>
where S: Spec,

Sourceยง

impl<S> From<Normalized<'_, RiAbsoluteStr<S>>> for RiAbsoluteString<S>
where S: Spec,

Sourceยง

impl<S> From<Normalized<'_, RiStr<S>>> for RiString<S>
where S: Spec,

Sourceยง

impl<S> From<RiAbsoluteString<S>> for Box<RiAbsoluteStr<S>>
where S: Spec,

Sourceยง

impl<S> From<RiAbsoluteString<S>> for String
where S: Spec,

Sourceยง

impl<S> From<RiAbsoluteString<S>> for RiString<S>
where S: Spec,

Sourceยง

impl<S> From<RiAbsoluteString<S>> for RiReferenceString<S>
where S: Spec,

Sourceยง

impl<S> From<RiFragmentString<S>> for Box<RiFragmentStr<S>>
where S: Spec,

Sourceยง

impl<S> From<RiFragmentString<S>> for String
where S: Spec,

Sourceยง

impl<S> From<RiString<S>> for Box<RiStr<S>>
where S: Spec,

Sourceยง

impl<S> From<RiString<S>> for String
where S: Spec,

Sourceยง

impl<S> From<RiString<S>> for RiReferenceString<S>
where S: Spec,

Sourceยง

impl<S> From<RiQueryString<S>> for Box<RiQueryStr<S>>
where S: Spec,

Sourceยง

impl<S> From<RiQueryString<S>> for String
where S: Spec,

Sourceยง

impl<S> From<RiReferenceString<S>> for Box<RiReferenceStr<S>>
where S: Spec,

Sourceยง

impl<S> From<RiReferenceString<S>> for String
where S: Spec,

Sourceยง

impl<S> From<RiRelativeString<S>> for Box<RiRelativeStr<S>>
where S: Spec,

Sourceยง

impl<S> From<RiRelativeString<S>> for String
where S: Spec,

Sourceยง

impl<S> From<RiRelativeString<S>> for RiReferenceString<S>
where S: Spec,

Sourceยง

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

Sourceยง

impl<S> From<S> for Secret<S>
where S: Zeroize,

Sourceยง

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

Sourceยง

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

Sourceยง

impl<Src, Dst> From<ConvertError<AlignmentError<Src, Dst>, SizeError<Src, Dst>, Infallible>> for ConvertError<AlignmentError<Src, Dst>, SizeError<Src, Dst>, ValidityError<Src, Dst>>
where Dst: TryFromBytes + ?Sized,

Sourceยง

impl<Src, Dst> From<ConvertError<AlignmentError<Src, Dst>, SizeError<Src, Dst>, Infallible>> for SizeError<Src, Dst>
where Dst: Unaligned + ?Sized,

Sourceยง

impl<Src, Dst> From<AlignmentError<Src, Dst>> for Infallible
where Dst: Unaligned + ?Sized,

Sourceยง

impl<Src, Dst, A, S> From<ValidityError<Src, Dst>> for ConvertError<A, S, ValidityError<Src, Dst>>
where Dst: TryFromBytes + ?Sized,

Sourceยง

impl<Src, Dst, A, V> From<SizeError<Src, Dst>> for ConvertError<A, SizeError<Src, Dst>, V>
where Dst: ?Sized,

Sourceยง

impl<Src, Dst, S, V> From<ConvertError<AlignmentError<Src, Dst>, S, V>> for ConvertError<Infallible, S, V>
where Dst: Unaligned + ?Sized,

Sourceยง

impl<Src, Dst, S, V> From<AlignmentError<Src, Dst>> for ConvertError<AlignmentError<Src, Dst>, S, V>
where Dst: ?Sized,

Sourceยง

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

1.17.0 ยท Sourceยง

impl<T> From<&[T]> for Box<[T]>
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.0.0 ยท Sourceยง

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

1.84.0 ยท Sourceยง

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

1.84.0 ยท Sourceยง

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

1.84.0 ยท Sourceยง

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

1.19.0 ยท Sourceยง

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

Sourceยง

impl<T> From<Option<T>> for serde_json::value::Value
where T: Into<Value>,

Sourceยง

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

1.45.0 ยท Sourceยง

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

1.71.0 ยท Sourceยง

impl<T> From<[T; N]> for (Tโ‚, Tโ‚‚, โ€ฆ, Tโ‚™)

This trait is implemented for tuples up to twelve items long.

1.34.0 ยท 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 ยท Sourceยง

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

1.25.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

1.25.0 ยท Sourceยง

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

1.71.0 ยท Sourceยง

impl<T> From<(Tโ‚, Tโ‚‚, โ€ฆ, Tโ‚™)> for [T; N]

This trait is implemented for tuples up to twelve items long.

Sourceยง

impl<T> From<Vec<T>> for serde_json::value::Value
where T: Into<Value>,

1.31.0 ยท Sourceยง

impl<T> From<NonZero<T>> for T

Sourceยง

impl<T> From<Range<T>> for core::range::Range<T>

Sourceยง

impl<T> From<RangeFrom<T>> for core::range::RangeFrom<T>

Sourceยง

impl<T> From<RangeInclusive<T>> for core::range::RangeInclusive<T>

Sourceยง

impl<T> From<Range<T>> for core::ops::range::Range<T>

Sourceยง

impl<T> From<RangeFrom<T>> for core::ops::range::RangeFrom<T>

Sourceยง

impl<T> From<RangeInclusive<T>> for core::ops::range::RangeInclusive<T>

Sourceยง

impl<T> From<SendError<T>> for SendTimeoutError<T>

1.24.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

impl<T> From<Response<T>> for reqwest::async_impl::response::Response
where T: Into<Body>,

Sourceยง

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

Sourceยง

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

Sourceยง

impl<T> From<TlsStream<TokioIo<T>>> for MaybeHttpsStream<T>

Sourceยง

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

Sourceยง

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

Sourceยง

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

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>

1.12.0 ยท Sourceยง

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

1.36.0 ยท Sourceยง

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

Sourceยง

impl<T> From<T> for MaybeHttpsStream<T>

1.6.0 ยท Sourceยง

impl<T> From<T> for Box<T>

1.6.0 ยท Sourceยง

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

1.6.0 ยท Sourceยง

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

1.70.0 ยท Sourceยง

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

1.12.0 ยท Sourceยง

impl<T> From<T> for core::cell::Cell<T>

1.12.0 ยท Sourceยง

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

Sourceยง

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

1.12.0 ยท Sourceยง

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

Sourceยง

impl<T> From<T> for UnsafePinned<T>

Sourceยง

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

1.70.0 ยท Sourceยง

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

1.24.0 ยท Sourceยง

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

1.24.0 ยท Sourceยง

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

Sourceยง

impl<T> From<T> for ReentrantLock<T>

Sourceยง

impl<T> From<T> for futures_util::lock::mutex::Mutex<T>

Sourceยง

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

Sourceยง

impl<T> From<T> for once_cell::unsync::OnceCell<T>

Sourceยง

impl<T> From<T> for SyncWrapper<T>

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>

1.0.0 ยท Sourceยง

impl<T> From<T> for T

1.18.0 ยท Sourceยง

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

1.21.0 ยท Sourceยง

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

1.21.0 ยท Sourceยง

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

1.33.0 ยท Sourceยง

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

1.5.0 ยท Sourceยง

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

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.5.0 ยท Sourceยง

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

1.10.0 ยท Sourceยง

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

1.21.0 ยท Sourceยง

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

1.21.0 ยท Sourceยง

impl<T, A> From<Vec<T, A>> for Arc<[T], A>
where A: Allocator + Clone,

1.74.0 ยท Sourceยง

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

1.74.0 ยท Sourceยง

impl<T, const N: usize> From<&mut [T; N]> for Vec<T>
where T: Clone,

Sourceยง

impl<T, const N: usize> From<[T; N]> for serde_json::value::Value
where T: Into<Value>,

1.45.0 ยท Sourceยง

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

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 BTreeSet<T>
where T: Ord,

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>

1.74.0 ยท Sourceยง

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

1.74.0 ยท Sourceยง

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

1.44.0 ยท Sourceยง

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

Sourceยง

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

1.56.0 ยท Sourceยง

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

Sourceยง

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

Sourceยง

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

Sourceยง

impl<T, const N: usize> From<Mask<T, N>> for Simd<T, N>

Sourceยง

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

Sourceยง

impl<W> From<Rc<W>> for LocalWaker
where W: LocalWake + 'static,

Sourceยง

impl<W> From<Rc<W>> for RawWaker
where W: LocalWake + 'static,

1.51.0 ยท Sourceยง

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

1.51.0 ยท Sourceยง

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

1.0.0 ยท Sourceยง

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

Sourceยง

impl<W> From<x4<W>> for vec512_storage
where W: Copy, vec128_storage: From<W>,

Sourceยง

impl<W, G> From<x2<W, G>> for vec256_storage
where 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<Z> From<Z> for Zeroizing<Z>
where Z: Zeroize,

Sourceยง

impl<const M: usize, const N: usize> From<&[&[u16; N]; M]> for Prompt

Sourceยง

impl<const M: usize, const N: usize> From<&[&[u32; N]; M]> for EmbeddingInput

Sourceยง

impl<const M: usize, const N: usize> From<&[[u16; N]; M]> for Prompt

Sourceยง

impl<const M: usize, const N: usize> From<&[[u32; N]; M]> for EmbeddingInput

Sourceยง

impl<const M: usize, const N: usize> From<[&[u16; N]; M]> for Prompt

Sourceยง

impl<const M: usize, const N: usize> From<[&[u32; N]; M]> for EmbeddingInput

Sourceยง

impl<const M: usize, const N: usize> From<[[u16; N]; M]> for Prompt

Sourceยง

impl<const M: usize, const N: usize> From<[[u32; N]; M]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&Vec<&[u16; N]>> for Prompt

Sourceยง

impl<const N: usize> From<&Vec<&[u32; N]>> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&Vec<[u16; N]>> for Prompt

Sourceยง

impl<const N: usize> From<&Vec<[u32; N]>> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&[&str; N]> for Prompt

Sourceยง

impl<const N: usize> From<&[&str; N]> for Stop

Sourceยง

impl<const N: usize> From<&[&str; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&[&str; N]> for ModerationInput

Sourceยง

impl<const N: usize> From<&[&String; N]> for Prompt

Sourceยง

impl<const N: usize> From<&[&String; N]> for Stop

Sourceยง

impl<const N: usize> From<&[&String; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&[&String; N]> for ModerationInput

Sourceยง

impl<const N: usize> From<&[&Vec<u16>; N]> for Prompt

Sourceยง

impl<const N: usize> From<&[&Vec<u32>; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&[u8; N]> for PrefixedPayload

Sourceยง

impl<const N: usize> From<&[u16; N]> for Prompt

Sourceยง

impl<const N: usize> From<&[u32; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&[String; N]> for Prompt

Sourceยง

impl<const N: usize> From<&[String; N]> for Stop

Sourceยง

impl<const N: usize> From<&[String; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<&[String; N]> for ModerationInput

Sourceยง

impl<const N: usize> From<&[Vec<u16>; N]> for Prompt

Sourceยง

impl<const N: usize> From<&[Vec<u32>; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<Vec<&[u16; N]>> for Prompt

Sourceยง

impl<const N: usize> From<Vec<&[u32; N]>> for EmbeddingInput

Sourceยง

impl<const N: usize> From<Vec<[u16; N]>> for Prompt

Sourceยง

impl<const N: usize> From<Vec<[u32; N]>> for EmbeddingInput

Sourceยง

impl<const N: usize> From<Mask<i8, N>> for Mask<i16, N>

Sourceยง

impl<const N: usize> From<Mask<i8, N>> for Mask<i32, N>

Sourceยง

impl<const N: usize> From<Mask<i8, N>> for Mask<i64, N>

Sourceยง

impl<const N: usize> From<Mask<i8, N>> for Mask<isize, N>

Sourceยง

impl<const N: usize> From<Mask<i16, N>> for Mask<i8, N>

Sourceยง

impl<const N: usize> From<Mask<i16, N>> for Mask<i32, N>

Sourceยง

impl<const N: usize> From<Mask<i16, N>> for Mask<i64, N>

Sourceยง

impl<const N: usize> From<Mask<i16, N>> for Mask<isize, N>

Sourceยง

impl<const N: usize> From<Mask<i32, N>> for Mask<i8, N>

Sourceยง

impl<const N: usize> From<Mask<i32, N>> for Mask<i16, N>

Sourceยง

impl<const N: usize> From<Mask<i32, N>> for Mask<i64, N>

Sourceยง

impl<const N: usize> From<Mask<i32, N>> for Mask<isize, N>

Sourceยง

impl<const N: usize> From<Mask<i64, N>> for Mask<i8, N>

Sourceยง

impl<const N: usize> From<Mask<i64, N>> for Mask<i16, N>

Sourceยง

impl<const N: usize> From<Mask<i64, N>> for Mask<i32, N>

Sourceยง

impl<const N: usize> From<Mask<i64, N>> for Mask<isize, N>

Sourceยง

impl<const N: usize> From<Mask<isize, N>> for Mask<i8, N>

Sourceยง

impl<const N: usize> From<Mask<isize, N>> for Mask<i16, N>

Sourceยง

impl<const N: usize> From<Mask<isize, N>> for Mask<i32, N>

Sourceยง

impl<const N: usize> From<Mask<isize, N>> for Mask<i64, N>

Sourceยง

impl<const N: usize> From<TinyAsciiStr<N>> for UnvalidatedTinyAsciiStr<N>

Sourceยง

impl<const N: usize> From<[&str; N]> for Prompt

Sourceยง

impl<const N: usize> From<[&str; N]> for Stop

Sourceยง

impl<const N: usize> From<[&str; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<[&str; N]> for ModerationInput

Sourceยง

impl<const N: usize> From<[&String; N]> for Prompt

Sourceยง

impl<const N: usize> From<[&String; N]> for Stop

Sourceยง

impl<const N: usize> From<[&String; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<[&String; N]> for ModerationInput

Sourceยง

impl<const N: usize> From<[&Vec<u16>; N]> for Prompt

Sourceยง

impl<const N: usize> From<[&Vec<u32>; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<[u8; N]> for RawBytesULE<N>

Sourceยง

impl<const N: usize> From<[u16; N]> for Prompt

Sourceยง

impl<const N: usize> From<[u32; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<[String; N]> for Prompt

Sourceยง

impl<const N: usize> From<[String; N]> for Stop

Sourceยง

impl<const N: usize> From<[String; N]> for EmbeddingInput

Sourceยง

impl<const N: usize> From<[String; N]> for ModerationInput

Sourceยง

impl<const N: usize> From<[Vec<u16>; N]> for Prompt

Sourceยง

impl<const N: usize> From<[Vec<u32>; N]> for EmbeddingInput