Docs.rs
rustler-0.27.0
rustler 0.27.0
Docs.rs crate page
MIT/Apache-2.0
Links
Repository
crates.io
Source
Owners
filmor
hansihe
scrogson
evnu
Dependencies
lazy_static ^1.4
normal
rustler_codegen ^0.27.0
normal
rustler_sys ~2.2
normal
Versions
65.14%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Decoder
Required Methods
decode
Implementations on Foreign Types
&'a str
()
(A, B)
(A, B, C)
(A, B, C, D)
(A, B, C, D, E)
(A, B, C, D, E, F)
(A, B, C, D, E, F, G)
(A,)
HashMap<K, V>
Option<T>
RangeInclusive<T>
Result<T, E>
String
Vec<T>
bool
f32
f64
i16
i32
i64
i8
isize
u16
u32
u64
u8
usize
Implementors
In rustler::types
?
Trait
rustler
::
types
::
Decoder
source
·
[
−
]
pub trait Decoder<'a>:
Sized
+ 'a { fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>; }
Required Methods
§
source
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
Implementations on Foreign Types
§
source
§
impl<'a, T>
Decoder
<'a> for
Vec
<T>
where
T:
Decoder
<'a>,
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
source
§
impl<'a, T>
Decoder
<'a> for
RangeInclusive
<T>
where
T:
Decoder
<'a>,
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
source
§
impl<'a>
Decoder
<'a> for
i32
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
i32
>
source
§
impl<'a>
Decoder
<'a> for
u32
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
u32
>
source
§
impl<'a>
Decoder
<'a> for
i64
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
i64
>
source
§
impl<'a>
Decoder
<'a> for
u64
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
u64
>
source
§
impl<'a>
Decoder
<'a> for
f64
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
f64
>
source
§
impl<'a>
Decoder
<'a> for
i8
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
i8
>
source
§
impl<'a>
Decoder
<'a> for
u8
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
u8
>
source
§
impl<'a>
Decoder
<'a> for
i16
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
i16
>
source
§
impl<'a>
Decoder
<'a> for
u16
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
u16
>
source
§
impl<'a>
Decoder
<'a> for
usize
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
usize
>
source
§
impl<'a>
Decoder
<'a> for
isize
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
isize
>
source
§
impl<'a>
Decoder
<'a> for
bool
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
bool
>
source
§
impl<'a>
Decoder
<'a> for
f32
source
§
fn
decode
(term:
Term
<'_>) ->
NifResult
<
f32
>
source
§
impl<'a>
Decoder
<'a> for
String
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
source
§
impl<'a>
Decoder
<'a> for &'a
str
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
source
§
impl<'a>
Decoder
<'a> for
()
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
()
>
source
§
impl<'a, A:
Decoder
<'a>>
Decoder
<'a> for
(A,)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A,)
>
source
§
impl<'a, A:
Decoder
<'a>, B:
Decoder
<'a>>
Decoder
<'a> for
(A, B)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A, B)
>
source
§
impl<'a, A:
Decoder
<'a>, B:
Decoder
<'a>, C:
Decoder
<'a>>
Decoder
<'a> for
(A, B, C)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A, B, C)
>
source
§
impl<'a, A:
Decoder
<'a>, B:
Decoder
<'a>, C:
Decoder
<'a>, D:
Decoder
<'a>>
Decoder
<'a> for
(A, B, C, D)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A, B, C, D)
>
source
§
impl<'a, A:
Decoder
<'a>, B:
Decoder
<'a>, C:
Decoder
<'a>, D:
Decoder
<'a>, E:
Decoder
<'a>>
Decoder
<'a> for
(A, B, C, D, E)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A, B, C, D, E)
>
source
§
impl<'a, A:
Decoder
<'a>, B:
Decoder
<'a>, C:
Decoder
<'a>, D:
Decoder
<'a>, E:
Decoder
<'a>, F:
Decoder
<'a>>
Decoder
<'a> for
(A, B, C, D, E, F)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A, B, C, D, E, F)
>
source
§
impl<'a, A:
Decoder
<'a>, B:
Decoder
<'a>, C:
Decoder
<'a>, D:
Decoder
<'a>, E:
Decoder
<'a>, F:
Decoder
<'a>, G:
Decoder
<'a>>
Decoder
<'a> for
(A, B, C, D, E, F, G)
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<
(A, B, C, D, E, F, G)
>
source
§
impl<'a, T>
Decoder
<'a> for
Option
<T>
where
T:
Decoder
<'a>,
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
source
§
impl<'a, T, E>
Decoder
<'a> for
Result
<T, E>
where
T:
Decoder
<'a>,
E:
Decoder
<'a>,
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
source
§
impl<'a, K, V>
Decoder
<'a> for
HashMap
<K, V>
where
K:
Decoder
<'a> +
Eq
+
Hash
,
V:
Decoder
<'a>,
source
§
fn
decode
(term:
Term
<'a>) ->
NifResult
<Self>
Implementors
§
source
§
impl<'a>
Decoder
<'a> for
ListIterator
<'a>
source
§
impl<'a>
Decoder
<'a> for
LocalPid
source
§
impl<'a>
Decoder
<'a> for
MapIterator
<'a>
source
§
impl<'a>
Decoder
<'a> for
Term
<'a>
source
§
impl<'a>
Decoder
<'a> for
Atom
source
§
impl<'a>
Decoder
<'a> for
Binary
<'a>
source
§
impl<'a>
Decoder
<'a> for
Truthy
source
§
impl<'a, T>
Decoder
<'a> for
ResourceArc
<T>
where
T: ResourceTypeProvider + 'a,