mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
65 lines
1.3 KiB
Rust
65 lines
1.3 KiB
Rust
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>),
|
|
}
|
|
|
|
crate enum WriteState<D> {
|
|
WriteId {
|
|
id: U64Writer,
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteSize {
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteData(Writer<D>),
|
|
}
|
|
|
|
pub(in ::global:: 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>),
|
|
}
|
|
|
|
pub( in 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>),
|
|
}
|