impossible.rs
SHA-25691da408362284ec567b2316050900251ff66a1134413963720154fb70f3919c0
Malecule∅
Evidence
1:9… ight 2017 Serde Developers
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> o …
5:28… pensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! This module contains `Impossible` serializer and its implementations.
10
11use lib::*;
12
13use ser::{
14 self, Serialize, SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant,
15 SerializeTuple, SerializeTupleStruct, SerializeTupleVariant,
16};
17
18/// Helper type for implementing a `Serializer` that does not support
19/// serializing one of the compound types.
20///
21/// This type cannot be instant …