Struct Analytics Batch Buffer
Source pub struct AnalyticsBatchBuffer(/* private fields */);Implementations§
Source§impl AnalyticsBatchBuffer
impl AnalyticsBatchBuffer
pub fn sticky_events(&self) -> &[Event]
pub fn serialized_events(&self) -> &[Event]
pub fn buffer(&self) -> Option<&BufferRef>
pub fn buffer_owned(&self) -> Option<Buffer>
pub fn buffer_mut(&mut self) -> Option<&mut BufferRef>
pub fn buffer_list(&self) -> Option<&BufferListRef>
pub fn buffer_list_owned(&self) -> Option<BufferList>
pub fn buffer_list_mut(&mut self) -> Option<&mut BufferListRef>
pub fn caps(&self) -> Option<Caps>
pub fn segment(&self) -> Option<Segment>
pub fn stream_id(&self) -> Option<&GStr>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnalyticsBatchBuffer
impl RefUnwindSafe for AnalyticsBatchBuffer
impl !Send for AnalyticsBatchBuffer
impl !Sync for AnalyticsBatchBuffer
impl Unpin for AnalyticsBatchBuffer
impl UnwindSafe for AnalyticsBatchBuffer
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more