2016-05-27 17:58:25 -05:00
|
|
|
pub(super) enum WriteState<D> {
|
|
|
|
WriteId {
|
|
|
|
id: U64Writer,
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteSize {
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteData(Writer<D>),
|
|
|
|
}
|
|
|
|
|
|
|
|
pub(crate) enum WriteState<D> {
|
|
|
|
WriteId {
|
|
|
|
id: U64Writer,
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteSize {
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteData(Writer<D>),
|
|
|
|
}
|
|
|
|
|
2017-01-18 15:47:07 -06:00
|
|
|
pub(global::path::to::some_mod) enum WriteState<D> {
|
2016-05-27 17:58:25 -05:00
|
|
|
WriteId {
|
|
|
|
id: U64Writer,
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteSize {
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteData(Writer<D>),
|
|
|
|
}
|
|
|
|
|
|
|
|
pub(local::path::to::some_mod) enum WriteState<D> {
|
|
|
|
WriteId {
|
|
|
|
id: U64Writer,
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteSize {
|
|
|
|
size: U64Writer,
|
|
|
|
payload: Option<Writer<D>>,
|
|
|
|
},
|
|
|
|
WriteData(Writer<D>),
|
|
|
|
}
|