[−]Struct fluvio_dataplane_protocol::core::api::RequestHeader
Implementations
impl RequestHeader
pub fn new(api_key: u16) -> RequestHeader
pub fn new_with_client<T>(api_key: u16, client_id: T) -> RequestHeader where
T: Into<String>,
T: Into<String>,
pub fn api_key(&self) -> u16
pub fn api_version(&self) -> i16
pub fn set_api_version(&mut self, version: i16) -> &mut RequestHeader
pub fn correlation_id(&self) -> i32
pub fn set_correlation_id(&mut self, id: i32) -> &mut RequestHeader
pub fn client_id(&self) -> &String
pub fn set_client_id<T>(&mut self, client_id: T) -> &mut RequestHeader where
T: Into<String>,
T: Into<String>,
Trait Implementations
impl Debug for RequestHeader
impl Decoder for RequestHeader
fn decode<T>(&mut self, src: &mut T, version: i16) -> Result<(), Error> where
T: Buf,
T: Buf,
fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
Self: Default,
T: Buf,
impl Default for RequestHeader
fn default() -> RequestHeader
impl Display for RequestHeader
impl Encoder for RequestHeader
Auto Trait Implementations
impl RefUnwindSafe for RequestHeader
impl Send for RequestHeader
impl Sync for RequestHeader
impl Unpin for RequestHeader
impl UnwindSafe for RequestHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,