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§
- Addr
Transform Error - The error type for errors that get returned when encoding or decoding fails.
- Bytes
Transform Error - The error type for errors that get returned when encoding or decoding fails.
- Duration
Transform Error - Error returned by
Durationwhen transforming. - Instant
Transform Error std - Error returned by
Instantwhen transforming. - IpAddr
Transform Error - The wire error type for
IpAddr. - Number
Transform Error - Error type for transformable numbers.
- Socket
Addr Transform Error - The wire error type for
SocketAddr. - String
Transform Error - The error type for errors that get returned when encoding or decoding str based structs fails.
- System
Time 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.