pub enum IltpItem {
SessionPreface(SessionPreface),
NoProof,
Policy(RecordHash),
PolicyKnown,
PolicyMissing,
Listing {
form: ListingForm,
rows: Vec<ListingRow>,
},
Symbols(Vec<ListingSymbol>),
Want(Arc<[RecordHash]>),
RoundEnd,
Record(RecordLabel, Record),
}Expand description
One framing input or output from a Lace ILTP byte stream: a raw preface or a labelled item.
Variants§
SessionPreface(SessionPreface)
NoProof
::as unknown: no proof presented.
Policy(RecordHash)
::policy HASH: the sender’s operand.
PolicyKnown
::policy-known: the sender holds the operand the peer announced.
PolicyMissing
::policy-missing: the sender lacks the operand the peer announced.
Listing
A listing label with its hash-ordered rows.
Symbols(Vec<ListingSymbol>)
::symbols: one 061 batch, nonempty.
Want(Arc<[RecordHash]>)
::want with strictly increasing hashes.
RoundEnd
::round-end.
Record(RecordLabel, Record)
::as, ::policy-body or ::response, its record and the LF
after it.
Trait Implementations§
impl Eq for IltpItem
impl StructuralPartialEq for IltpItem
Auto Trait Implementations§
impl Freeze for IltpItem
impl RefUnwindSafe for IltpItem
impl Send for IltpItem
impl Sync for IltpItem
impl Unpin for IltpItem
impl UnsafeUnpin for IltpItem
impl UnwindSafe for IltpItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more