pub struct QueryOffsetResponse { /* private fields */ }
Implementations
sourceimpl QueryOffsetResponse
impl QueryOffsetResponse
pub fn new(
correlation_id: u32,
response_code: ResponseCode,
offset: u64
) -> Self
pub fn from_response(&self) -> u64
Trait Implementations
sourceimpl Debug for QueryOffsetResponse
impl Debug for QueryOffsetResponse
sourceimpl Decoder for QueryOffsetResponse
impl Decoder for QueryOffsetResponse
sourceimpl Encoder for QueryOffsetResponse
impl Encoder for QueryOffsetResponse
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
fn encoded_size(&self) -> u32
sourceimpl FromResponse for QueryOffsetResponse
impl FromResponse for QueryOffsetResponse
fn from_response(response: Response) -> Option<Self>
sourceimpl PartialEq<QueryOffsetResponse> for QueryOffsetResponse
impl PartialEq<QueryOffsetResponse> for QueryOffsetResponse
sourcefn eq(&self, other: &QueryOffsetResponse) -> bool
fn eq(&self, other: &QueryOffsetResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryOffsetResponse) -> bool
fn ne(&self, other: &QueryOffsetResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for QueryOffsetResponse
Auto Trait Implementations
impl RefUnwindSafe for QueryOffsetResponse
impl Send for QueryOffsetResponse
impl Sync for QueryOffsetResponse
impl Unpin for QueryOffsetResponse
impl UnwindSafe for QueryOffsetResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more