Skip to main content

ReplicateRequestEncoder

Struct ReplicateRequestEncoder 

Source
pub struct ReplicateRequestEncoder<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> ReplicateRequestEncoder<'a>

Source

pub fn wrap(self, buf: WriteBuf<'a>, offset: usize) -> Self

Source

pub fn encoded_length(&self) -> usize

Source

pub fn header(self, offset: usize) -> MessageHeaderEncoder<Self>

Source

pub fn control_session_id(&mut self, value: i64)

primitive field ‘controlSessionId’

  • min value: -9223372036854775807
  • max value: 9223372036854775807
  • null value: -9223372036854775808
  • characterEncoding: null
  • semanticType: null
  • encodedOffset: 0
  • encodedLength: 8
  • version: 0
Source

pub fn correlation_id(&mut self, value: i64)

primitive field ‘correlationId’

  • min value: -9223372036854775807
  • max value: 9223372036854775807
  • null value: -9223372036854775808
  • characterEncoding: null
  • semanticType: null
  • encodedOffset: 8
  • encodedLength: 8
  • version: 0
Source

pub fn src_recording_id(&mut self, value: i64)

primitive field ‘srcRecordingId’

  • min value: -9223372036854775807
  • max value: 9223372036854775807
  • null value: -9223372036854775808
  • characterEncoding: null
  • semanticType: null
  • encodedOffset: 16
  • encodedLength: 8
  • version: 0
Source

pub fn dst_recording_id(&mut self, value: i64)

primitive field ‘dstRecordingId’

  • min value: -9223372036854775807
  • max value: 9223372036854775807
  • null value: -9223372036854775808
  • characterEncoding: null
  • semanticType: null
  • encodedOffset: 24
  • encodedLength: 8
  • version: 0
Source

pub fn src_control_stream_id(&mut self, value: i32)

primitive field ‘srcControlStreamId’

  • min value: -2147483647
  • max value: 2147483647
  • null value: -2147483648
  • characterEncoding: null
  • semanticType: null
  • encodedOffset: 32
  • encodedLength: 4
  • version: 0
Source

pub fn src_control_channel(&mut self, value: &[u8])

VAR_DATA ENCODER - character encoding: ‘US-ASCII’

Source

pub fn live_destination(&mut self, value: &[u8])

VAR_DATA ENCODER - character encoding: ‘US-ASCII’

Trait Implementations§

Source§

impl<'a> Debug for ReplicateRequestEncoder<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for ReplicateRequestEncoder<'a>

Source§

fn default() -> ReplicateRequestEncoder<'a>

Returns the “default value” for a type. Read more
Source§

impl<'a> Encoder<'a> for ReplicateRequestEncoder<'a>

Source§

fn get_limit(&self) -> usize

Source§

fn set_limit(&mut self, limit: usize)

Source§

impl<'a> Writer<'a> for ReplicateRequestEncoder<'a>

Source§

fn get_buf_mut(&mut self) -> &mut WriteBuf<'a>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.