[]Struct gio::SrvTarget

pub struct SrvTarget(_);

Methods

impl SrvTarget[src]

pub fn new(hostname: &str, port: u16, priority: u16, weight: u16) -> SrvTarget[src]

pub fn get_hostname(&mut self) -> Option<GString>[src]

pub fn get_port(&mut self) -> u16[src]

pub fn get_priority(&mut self) -> u16[src]

pub fn get_weight(&mut self) -> u16[src]

Trait Implementations

impl Clone for SrvTarget

impl Debug for SrvTarget[src]

impl Eq for SrvTarget[src]

impl Hash for SrvTarget[src]

impl Ord for SrvTarget[src]

impl PartialEq<SrvTarget> for SrvTarget[src]

impl PartialOrd<SrvTarget> for SrvTarget[src]

impl StaticType for SrvTarget

impl StructuralEq for SrvTarget[src]

impl StructuralPartialEq for SrvTarget[src]

Auto Trait Implementations

impl RefUnwindSafe for SrvTarget

impl !Send for SrvTarget

impl !Sync for SrvTarget

impl Unpin for SrvTarget

impl UnwindSafe for SrvTarget

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.