pub enum IngestMessage {
AuthRequest {
token: Vec<u8>,
},
IngestStatusRequest {},
Flush {},
DeclareAttrKey {
name: String,
wire_id: u32,
},
OpenTimeline {
id: TimelineId,
},
TimelineMetadata {
attrs: PackedAttrKvs<AttrKey>,
},
Event {
be_ordering: Vec<u8>,
attrs: PackedAttrKvs<AttrKey>,
},
}
Variants§
AuthRequest
IngestStatusRequest
Flush
An advisory message, asking the server to immediately write any pending events to disk.
DeclareAttrKey
OpenTimeline
Fields
§
id: TimelineId
TimelineMetadata
Fields
§
attrs: PackedAttrKvs<AttrKey>
Event
Trait Implementations§
source§impl Debug for IngestMessage
impl Debug for IngestMessage
Auto Trait Implementations§
impl Freeze for IngestMessage
impl RefUnwindSafe for IngestMessage
impl Send for IngestMessage
impl Sync for IngestMessage
impl Unpin for IngestMessage
impl UnwindSafe for IngestMessage
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