Struct fluvio::consumer::Record [−][src]
pub struct Record { /* fields omitted */ }
The individual record for a given stream.
Implementations
impl Record
[src]
impl Record
[src]pub fn offset(&self) -> i64
[src]
The offset from the initial offset for a given stream.
pub fn key(&self) -> Option<&[u8]>
[src]
Returns the contents of this Record’s key, if it exists
pub fn value(&self) -> &[u8]ⓘ
[src]
Returns the contents of this Record’s value
pub fn into_inner(self) -> DefaultRecord
[src]
Returns the inner representation of the Record
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Record
impl RefUnwindSafe for Record
impl UnwindSafe for Record
impl UnwindSafe for Record
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]