Expand description
Contains the trait serialization::SerializableElementRing for rings whose elements can be serialized
by using serde.
It also contains some utilities to simplify this, since it is usually not possible to use
#[derive(Serialize, Deserialize)] to implement serialization - the reason is that serialization and
deserialization usually require access to the ring. Hence, we need to use serde::de::DeserializeSeed,
but this is incompatible with #[derive]
Modules§
- generic_
tests unstable-enable - Availability
Structs§
- Deserialize
With Ring unstable-enable - Wrapper of a ring that implements [
serde::DeserializationSeed] by trying to deserialize an element w.r.t. the wrapped ring. - Serialize
Owned With Ring unstable-enable - Wraps a ring and a one of its elements. Implements
serde::Serializeand will serialize the element w.r.t. the ring. - Serialize
With Ring unstable-enable - Wraps a ring and a reference to one of its elements. Implements
serde::Serializeand will serialize the element w.r.t. the ring.
Traits§
- Serializable
Element Ring unstable-enable - Trait for rings whose elements can be serialized.