net-lattice-core 0.3.1

Foundational error, ID, and result types shared across the Net Lattice workspace. No OS dependency, no networking-specific types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Foundational types with no networking semantics of their own.
//!
//! `net-lattice-core` carries no OS dependency and no networking-specific
//! types — those belong to `net-lattice-ip` and `net-lattice-model`. See
//! ARCHITECTURE.md for the full rationale.

mod error;
mod id;

pub use error::{Error, PlatformErrorCode};
pub use id::Id;

/// A result returned by Net Lattice operations.
pub type Result<T> = core::result::Result<T, Error>;