Struct gio::SrvTarget [−]
pub struct SrvTarget(_);
Methods
impl SrvTarget[src]
impl SrvTargetpub fn new(hostname: &str, port: u16, priority: u16, weight: u16) -> SrvTarget[src]
pub fn new(hostname: &str, port: u16, priority: u16, weight: u16) -> SrvTargetpub fn get_hostname(&mut self) -> Option<String>[src]
pub fn get_hostname(&mut self) -> Option<String>pub fn get_port(&mut self) -> u16[src]
pub fn get_port(&mut self) -> u16pub fn get_priority(&mut self) -> u16[src]
pub fn get_priority(&mut self) -> u16pub fn get_weight(&mut self) -> u16[src]
pub fn get_weight(&mut self) -> u16Trait Implementations
impl Clone for SrvTarget
impl Clone for SrvTargetfn clone(&self) -> SrvTarget
fn clone(&self) -> SrvTargetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SrvTarget
impl Debug for SrvTargetimpl StaticType for SrvTarget
impl StaticType for SrvTargetfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.