1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use thiserror::Error;

#[warn(missing_debug_implementations)]
#[warn(missing_docs)]
/// Contains functions for reading from and writing to a tcp connection
pub mod connection;

#[warn(missing_debug_implementations)]
#[warn(missing_docs)]
/// Contains functions for parsing Segment protocol
pub mod frame;

#[warn(missing_debug_implementations)]
#[warn(missing_docs)]
/// Contains functions for parsing Segment protocol
pub mod client;

#[warn(missing_debug_implementations)]
#[warn(missing_docs)]
/// Contains functions for parsing Segment protocol
pub mod command;

#[derive(Debug, Error)]
pub enum SegmentError {}

pub type SegmentResult<T> = Result<T, SegmentError>;