#[repr(u32)]pub enum GSocketType {
G_SOCKET_TYPE_INVALID = 0,
G_SOCKET_TYPE_STREAM = 1,
G_SOCKET_TYPE_DATAGRAM = 2,
G_SOCKET_TYPE_SEQPACKET = 3,
}Variants§
G_SOCKET_TYPE_INVALID = 0
G_SOCKET_TYPE_STREAM = 1
G_SOCKET_TYPE_DATAGRAM = 2
G_SOCKET_TYPE_SEQPACKET = 3
Trait Implementations§
Source§impl Clone for GSocketType
impl Clone for GSocketType
Source§fn clone(&self) -> GSocketType
fn clone(&self) -> GSocketType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GSocketType
impl Debug for GSocketType
Source§impl Hash for GSocketType
impl Hash for GSocketType
Source§impl PartialEq for GSocketType
impl PartialEq for GSocketType
impl Copy for GSocketType
impl Eq for GSocketType
impl StructuralPartialEq for GSocketType
Auto Trait Implementations§
impl Freeze for GSocketType
impl RefUnwindSafe for GSocketType
impl Send for GSocketType
impl Sync for GSocketType
impl Unpin for GSocketType
impl UnwindSafe for GSocketType
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