[][src]Module serialize::serialize

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Support code for encoding and decoding types.

Traits

DecodableInternal
DecoderInternal
EncodableInternal
EncoderInternal
SpecializationErrorInternal

Implement this trait on your {Encodable,Decodable}::Error types to override the default panic behavior for missing specializations.

SpecializedDecoderInternal

Implement this trait on decoders, with T being the type you want to decode (employing UseSpecializedDecodable), using a strategy specific to the decoder.

SpecializedEncoderInternal

Implement this trait on encoders, with T being the type you want to encode (employing UseSpecializedEncodable), using a strategy specific to the encoder.

UseSpecializedDecodableInternal

Implement this trait on your type to get an Decodable implementation which goes through SpecializedDecoder.

UseSpecializedEncodableInternal

Implement this trait on your type to get an Encodable implementation which goes through SpecializedEncoder.