Skip to main content

CoerceInto

Trait CoerceInto 

Source
pub trait CoerceInto<U> {
    // Required method
    fn coerce_into(self, operation: impl Into<String>) -> Result<U, ShellError>;
}

Required Methods§

Source

fn coerce_into(self, operation: impl Into<String>) -> Result<U, ShellError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CoerceInto<f32> for Tagged<&BigDecimal>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<f32, ShellError>

Source§

impl CoerceInto<f32> for Tagged<BigDecimal>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<f32, ShellError>

Source§

impl CoerceInto<f64> for Tagged<&BigDecimal>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<f64, ShellError>

Source§

impl CoerceInto<f64> for Tagged<BigDecimal>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<f64, ShellError>

Source§

impl CoerceInto<i8> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i8, ShellError>

Source§

impl CoerceInto<i8> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i8, ShellError>

Source§

impl CoerceInto<i16> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i16, ShellError>

Source§

impl CoerceInto<i16> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i16, ShellError>

Source§

impl CoerceInto<i32> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i32, ShellError>

Source§

impl CoerceInto<i32> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i32, ShellError>

Source§

impl CoerceInto<i64> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i64, ShellError>

Source§

impl CoerceInto<i64> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<i64, ShellError>

Source§

impl CoerceInto<u8> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u8, ShellError>

Source§

impl CoerceInto<u8> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u8, ShellError>

Source§

impl CoerceInto<u16> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u16, ShellError>

Source§

impl CoerceInto<u16> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u16, ShellError>

Source§

impl CoerceInto<u32> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u32, ShellError>

Source§

impl CoerceInto<u32> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u32, ShellError>

Source§

impl CoerceInto<u64> for Tagged<&BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u64, ShellError>

Source§

impl CoerceInto<u64> for Tagged<BigInt>

Source§

fn coerce_into(self, operation: impl Into<String>) -> Result<u64, ShellError>

Implementors§