pub struct ChannelUriBuilder { /* private fields */ }Expand description
Builder for constructing Aeron URIs.
Implementations§
Source§impl ChannelUriBuilder
impl ChannelUriBuilder
Sourcepub fn network_interface(self, network_interface: &str) -> Self
pub fn network_interface(self, network_interface: &str) -> Self
Set the network interface.
Sourcepub fn control_endpoint(self, control_endpoint: &str) -> Self
pub fn control_endpoint(self, control_endpoint: &str) -> Self
Set the control endpoint (address:port).
Sourcepub fn control_mode(self, control_mode: ControlMode) -> Self
pub fn control_mode(self, control_mode: ControlMode) -> Self
Set the control mode.
Set tags for the channel.
Sourcepub fn term_length(self, term_length: u32) -> Self
pub fn term_length(self, term_length: u32) -> Self
Set the term length.
Sourcepub fn initial_term_id(self, initial_term_id: i32) -> Self
pub fn initial_term_id(self, initial_term_id: i32) -> Self
Set the initial term ID.
Sourcepub fn term_offset(self, term_offset: u32) -> Self
pub fn term_offset(self, term_offset: u32) -> Self
Set the term offset.
Sourcepub fn session_id(self, session_id: i32) -> Self
pub fn session_id(self, session_id: i32) -> Self
Set the session ID.
Trait Implementations§
Source§impl Debug for ChannelUriBuilder
impl Debug for ChannelUriBuilder
Source§impl Default for ChannelUriBuilder
impl Default for ChannelUriBuilder
Source§fn default() -> ChannelUriBuilder
fn default() -> ChannelUriBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChannelUriBuilder
impl RefUnwindSafe for ChannelUriBuilder
impl Send for ChannelUriBuilder
impl Sync for ChannelUriBuilder
impl Unpin for ChannelUriBuilder
impl UnwindSafe for ChannelUriBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more