Docs.rs
cbor-data-0.8.13
cbor-data 0.8.13
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
rkuhn
Dependencies
base64 ^0.13.0
normal
chrono ^0.4.19
normal
half ^1.6.0
normal
libipld ^0.14
normal
smallvec ^1.6.1
normal
criterion ^0.3
dev
maplit ^1
dev
pretty_assertions ^1.0.0
dev
rand ^0.8
dev
serde ^1
dev
serde_cbor ^0.11.1
dev
serde_json ^1
dev
Versions
55.75%
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
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
WriteCbor
Required Methods
write_cbor
Implementations on Foreign Types
&'a str
&T
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
(T0, T1, T2, T3, T4, T5)
(T0, T1, T2, T3, T4, T5, T6)
(T0, T1, T2, T3, T4, T5, T6, T7)
(T0, T1, T2, T3, T4, T5, T6, T7, T8)
(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
BTreeMap<K, V>
Option<T>
String
Vec<T>
Vec<u8>
[u8]
u64
Implementors
In cbor_data::codec
?
Trait
cbor_data
::
codec
::
WriteCbor
source
·
[
−
]
pub trait WriteCbor { fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
; }
Required Methods
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
Implementations on Foreign Types
source
impl<T:
WriteCbor
>
WriteCbor
for
Vec
<T>
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl
WriteCbor
for
Vec
<
u8
>
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl
WriteCbor
for [
u8
]
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl
WriteCbor
for
String
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<'a>
WriteCbor
for &'a
str
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T:
WriteCbor
>
WriteCbor
for
Option
<T>
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<K:
WriteCbor
, V:
WriteCbor
>
WriteCbor
for
BTreeMap
<K, V>
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl
WriteCbor
for
u64
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
>
WriteCbor
for
(T0, T1)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
>
WriteCbor
for
(T0, T1, T2)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
, T4:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3, T4)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
, T4:
WriteCbor
, T5:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3, T4, T5)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
, T4:
WriteCbor
, T5:
WriteCbor
, T6:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3, T4, T5, T6)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
, T4:
WriteCbor
, T5:
WriteCbor
, T6:
WriteCbor
, T7:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3, T4, T5, T6, T7)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
, T4:
WriteCbor
, T5:
WriteCbor
, T6:
WriteCbor
, T7:
WriteCbor
, T8:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3, T4, T5, T6, T7, T8)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T0:
WriteCbor
, T1:
WriteCbor
, T2:
WriteCbor
, T3:
WriteCbor
, T4:
WriteCbor
, T5:
WriteCbor
, T6:
WriteCbor
, T7:
WriteCbor
, T8:
WriteCbor
, T9:
WriteCbor
>
WriteCbor
for
(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
source
impl<T: ?
Sized
+
WriteCbor
>
WriteCbor
for
&
T
source
fn
write_cbor
<W:
Writer
>(&self, w: W) -> W::
Output
Implementors
source
impl
WriteCbor
for
Cbor
source
impl
WriteCbor
for
CborOwned