pub(crate) async fn resolve(
        &self,
        offsets: &FetchOffsetPartitionResponse,
    ) -> Result<i64, FluvioError> {
        let offset = self.inner.resolve(offsets);

        // Offset should never be less than 0, even for absolute
        let offset = offset.max(0);
        Ok(offset)
    }
/// Converts this offset into an absolute offset
///
/// If this offset is relative from the beginning (i.e. it was created
/// using the [`from_beginning`] function), then using `to_absolute` will
/// calculate the absolute offset by finding the first still-persisted
/// event offset and adding the relative offset to it.
///
/// Similarly, if this offset is relative from the end (i.e. it was created
/// using the [`from_end`] function), then using `to_absolute` will calculate
/// the absolute offset by finding the last stably-committed event and subtracting
/// the relative offset from it.
///
/// Calling `to_absolute` on an offset that is already absolute just returns
/// that same offset.
///
/// Note that calculating relative offsets requires connecting to Fluvio, and
/// therefore it is `async` and returns a `Result`.
Converts this offset into an absolute offset
If this offset is relative from the beginning , then using `to_absolute` will
calculate the absolute offset by finding the first still-persisted
event offset and adding the relative offset to it.

Similarly, if this offset is relative from the end , then using `to_absolute` will calculate
the absolute offset by finding the last stably-committed event and subtracting
the relative offset from it.

Calling `to_absolute` on an offset that is already absolute just returns
that same offset.

Note that calculating relative offsets requires connecting to Fluvio, and
therefore it is `async` and returns a `Result`.
Converts this offset into an absolute offset If this offset is relative from the beginning then using ` to_absolute ` will calculate the absolute offset by finding the first still - persisted event offset and adding the relative offset to it . Similarly if this offset is relative from the end then using ` to_absolute ` will calculate the absolute offset by finding the last stably - committed event and subtracting the relative offset from it . Calling ` to_absolute ` on an offset that is already absolute just returns that same offset . Note that calculating relative offsets requires connecting to Fluvio and therefore it is ` async ` and returns a ` Result ` .
pub(crate) async fn resolve(
        &self,
        offsets: &FetchOffsetPartitionResponse,
    ) -> Result<i64, FluvioError> {
        let offset = self.inner.resolve(offsets);
        // Offset should never be less than 0, even for absolute
        let offset = offset.max(0);
        Ok(offset)
    }
pub ( crate ) async fn resolve ( & self , offsets : & FetchOffsetPartitionResponse , ) -> Result < i64 , FluvioError > { let offset = self . inner . resolve ( offsets ) ; // Offset should never be less than 0, even for absolute let offset = offset . max ( 0 ) ; Ok ( offset ) }
Converts this offset into an absolute offset
If this offset is relative from the beginning (i.e.
Converts this offset into an absolute offset If this offset is relative from the beginning ( i . e .
&self
offsets
&FetchOffsetPartitionResponse
&self
offsets
&FetchOffsetPartitionResponse