Struct eventstore_tcp::raw::client_messages::mod_NotHandled::MasterInfo
[−]
[src]
pub struct MasterInfo<'a> {
pub external_tcp_address: Cow<'a, str>,
pub external_tcp_port: i32,
pub external_http_address: Cow<'a, str>,
pub external_http_port: i32,
pub external_secure_tcp_address: Option<Cow<'a, str>>,
pub external_secure_tcp_port: Option<i32>,
}Fields
external_tcp_address: Cow<'a, str>
external_tcp_port: i32
external_http_address: Cow<'a, str>
external_http_port: i32
external_secure_tcp_address: Option<Cow<'a, str>>
external_secure_tcp_port: Option<i32>
Methods
impl<'a> MasterInfo<'a>[src]
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Trait Implementations
impl<'a> Debug for MasterInfo<'a>[src]
impl<'a> Default for MasterInfo<'a>[src]
fn default() -> MasterInfo<'a>
Returns the "default value" for a type. Read more
impl<'a> PartialEq for MasterInfo<'a>[src]
fn eq(&self, __arg_0: &MasterInfo<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MasterInfo<'a>) -> bool
This method tests for !=.
impl<'a> Clone for MasterInfo<'a>[src]
fn clone(&self) -> MasterInfo<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> MessageWrite for MasterInfo<'a>[src]
fn get_size(&self) -> usize
Computes necessary binary size of self once serialized in protobuf
fn write_message<W: Write>(&self, w: &mut Writer<W>) -> Result<()>
Writes Self into W writer
fn write_file<P>(&self, p: P) -> Result<(), Error> where P: AsRef<Path>
Writes self into a file