-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring(rust): updated unit tests for now-proto-pdu
- Loading branch information
1 parent
b17ed2c
commit 805c4b5
Showing
34 changed files
with
794 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
//! This module contains `NOW-PROTO` core types definitions. | ||
//! | ||
//! Note that these types are not intended to be used directly by the user, and not exported in the | ||
//! public API. | ||
mod buffer; | ||
mod header; | ||
mod number; | ||
mod status; | ||
mod string; | ||
|
||
pub use buffer::{NowVarBuf, OwnedNowVarBuf}; | ||
pub use header::{NowHeader, NowMessageClass}; | ||
pub use number::VarU32; | ||
pub use status::{NowProtoError, NowStatus, NowStatusError, NowStatusErrorKind, OwnedNowStatus}; | ||
pub use string::{NowVarStr, OwnedNowVarStr}; | ||
pub(crate) use buffer::NowVarBuf; | ||
pub(crate) use header::{NowHeader, NowMessageClass}; | ||
pub(crate) use number::VarU32; | ||
pub(crate) use status::NowStatus; | ||
// Only public-exported type is the status error, which should be available to the user for error | ||
// handling. | ||
pub use status::{NowProtoError, NowStatusError, NowStatusErrorKind}; | ||
pub(crate) use string::NowVarStr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.