rfc6052 1.0.0

Rust functions for interacting with RFC6052 IPv4-Embedded IPv6 Addresses
Documentation
1
2
3
4
5
6
7
//! Error types for this library

#[derive(Debug, thiserror::Error, PartialEq)]
pub enum Error {
    #[error("Invalid IPv6 prefix length: {0}. Must be one of 32, 40, 48, 56, 64, or 96")]
    InvalidPrefixLength(u8),
}