pub struct GithubJobLogPoll { /* private fields */ }Expand description
One complete bounded attempt poll with numerically sorted job IDs.
Implementations§
Source§impl GithubJobLogPoll
impl GithubJobLogPoll
Sourcepub const fn identity(&self) -> &GithubRunAttemptLogIdentity
pub const fn identity(&self) -> &GithubRunAttemptLogIdentity
Exact attempt identity used for every endpoint and event.
Sourcepub fn job_ids(&self) -> &[GithubActionsJobId]
pub fn job_ids(&self) -> &[GithubActionsJobId]
Unique job IDs in numeric order, including jobs with no log lines.
Sourcepub fn events(&self) -> &[GithubWorkerLogEvent]
pub fn events(&self) -> &[GithubWorkerLogEvent]
Sanitized canonical Worker events in numeric job and line order.
Sourcepub const fn fetched_log_bytes(&self) -> u64
pub const fn fetched_log_bytes(&self) -> u64
Exact accepted log-body bytes across this poll.
Sourcepub const fn projected_store_bytes(&self) -> u64
pub const fn projected_store_bytes(&self) -> u64
Conservative canonical bytes reserved for all projected Worker events.
Sourcepub fn event_batches(
&self,
) -> impl ExactSizeIterator<Item = &[GithubWorkerLogEvent]>
pub fn event_batches( &self, ) -> impl ExactSizeIterator<Item = &[GithubWorkerLogEvent]>
Store-compatible event slices, each containing at most 256 records.
Sourcepub const fn completion_marker(&self) -> &GithubWorkerLogsComplete
pub const fn completion_marker(&self) -> &GithubWorkerLogsComplete
Append only after every Self::event_batches slice is durable.
Trait Implementations§
Source§impl Clone for GithubJobLogPoll
impl Clone for GithubJobLogPoll
Source§impl Debug for GithubJobLogPoll
impl Debug for GithubJobLogPoll
impl Eq for GithubJobLogPoll
Source§impl PartialEq for GithubJobLogPoll
impl PartialEq for GithubJobLogPoll
impl StructuralPartialEq for GithubJobLogPoll
Auto Trait Implementations§
impl Freeze for GithubJobLogPoll
impl RefUnwindSafe for GithubJobLogPoll
impl Send for GithubJobLogPoll
impl Sync for GithubJobLogPoll
impl Unpin for GithubJobLogPoll
impl UnsafeUnpin for GithubJobLogPoll
impl UnwindSafe for GithubJobLogPoll
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
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
Compare self to
key and return true if they are equal.