Expand description
Transformable
§Installation
[dependencies]
transformable = "0.2"§License
transformable is under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2023 Al Liu.
Modules§
- utils
- Utilities for encoding and decoding.
Enums§
- AddrTransform Error 
- The error type for errors that get returned when encoding or decoding fails.
- BytesTransform Error 
- The error type for errors that get returned when encoding or decoding fails.
- DurationTransform Error 
- Error returned by Durationwhen transforming.
- InstantTransform Error std
- Error returned by Instantwhen transforming.
- IpAddrTransform Error 
- The wire error type for IpAddr.
- NumberTransform Error 
- Error type for transformable numbers.
- SocketAddr Transform Error 
- The wire error type for SocketAddr.
- StringTransform Error 
- The error type for errors that get returned when encoding or decoding str based structs fails.
- SystemTime Transform Error std
- Error returned by SystemTimewhen transforming.
Traits§
- Decodable
- The type can transform its representation from byte form to struct.
- Encodable
- The type can transform its representation to byte form.
- Transformable
- The type can transform its representation between structured and byte form.