making this work
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
//! Binary representation of types
|
||||
|
||||
trait BinaryConvertable {
|
||||
pub trait BinaryConvertable {
|
||||
fn size(&self) -> usize;
|
||||
|
||||
fn to_bytes(buffer: &mut [u8]);
|
||||
|
||||
@@ -21,4 +21,6 @@ extern crate semver;
|
||||
extern crate nanomsg;
|
||||
|
||||
pub mod interface;
|
||||
pub use interface::{IpcInterface, IpcSocket, invoke, IpcConfig, Handshake, Error, WithSocket, BinaryConvertable};
|
||||
pub mod binary;
|
||||
pub use interface::{IpcInterface, IpcSocket, invoke, IpcConfig, Handshake, Error, WithSocket};
|
||||
pub use binary::{BinaryConvertable};
|
||||
|
||||
Reference in New Issue
Block a user