pub enum Unsent {
Queued,
StayInFile,
Inline,
}Expand description
Where the transcript lines of a part go when the part cannot be sent.
Variants§
Queued
Lines read from a transcript file: queued with their part while the
queue has room, and then counted in Delivered::lines, so the read
offset moves past them and each is in one place only. Once the queue
is full the lines stay in the file for a later hook (the offset stops
before the first of them) and only the event itself is queued.
StayInFile
Lines read from a transcript file that are left there: nothing of
them is queued and the offset does not move past them. For the
SessionEnd lines, which the catch-up sweep of a later session start
finds by that offset (commands::catch_up) and sends again.
Inline
Records an agent handed over inline. They exist nowhere else: a part is queued whole or, the queue being full, dropped.
Trait Implementations§
impl Copy for Unsent
impl Eq for Unsent
impl StructuralPartialEq for Unsent
Auto Trait Implementations§
impl Forget for Unsent
impl Freeze for Unsent
impl Move for Unsent
impl RefUnwindSafe for Unsent
impl Send for Unsent
impl Sync for Unsent
impl Unpin for Unsent
impl UnsafeUnpin for Unsent
impl UnwindSafe for Unsent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.