Struct gio::SocketConnection [−]
pub struct SocketConnection(_, _);
Methods
impl SocketConnection
[src]
impl SocketConnection
pub fn factory_lookup_type(
family: SocketFamily,
type_: SocketType,
protocol_id: i32
) -> Type
[src]
pub fn factory_lookup_type(
family: SocketFamily,
type_: SocketType,
protocol_id: i32
) -> Type
pub fn factory_register_type(
g_type: Type,
family: SocketFamily,
type_: SocketType,
protocol: i32
)
[src]
pub fn factory_register_type(
g_type: Type,
family: SocketFamily,
type_: SocketType,
protocol: i32
)
Trait Implementations
impl Clone for SocketConnection
impl Clone for SocketConnection
fn clone(&self) -> SocketConnection
fn clone(&self) -> SocketConnection
Returns 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)
Performs copy-assignment from source
. Read more
impl Hash for SocketConnection
impl Hash for SocketConnection
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for SocketConnection
impl Ord for SocketConnection
fn cmp(&self, other: &SocketConnection) -> Ordering
fn cmp(&self, other: &SocketConnection) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for SocketConnection
impl StaticType for SocketConnection
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for SocketConnection
impl<T: IsA<Object>> PartialEq<T> for SocketConnection
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for SocketConnection
impl Eq for SocketConnection
impl<T: IsA<Object>> PartialOrd<T> for SocketConnection
impl<T: IsA<Object>> PartialOrd<T> for SocketConnection
fn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for SocketConnection
impl Debug for SocketConnection
impl IsA<IOStream> for SocketConnection
impl IsA<IOStream> for SocketConnection
impl IsA<Object> for SocketConnection
impl IsA<Object> for SocketConnection
impl IsA<SocketConnection> for TcpConnection
impl IsA<SocketConnection> for TcpConnection
Auto Trait Implementations
impl !Send for SocketConnection
impl !Send for SocketConnection
impl !Sync for SocketConnection
impl !Sync for SocketConnection