#[repr(transparent)]pub struct GKSendDataMode(pub c_int);
👎Deprecated: No longer supported
Available on crate feature
GKPublicConstants
only.Expand description
Delivery options for GKSession’s -(BOOL)sendData… methods.
See also Apple’s documentation
Tuple Fields§
§0: c_int
👎Deprecated: No longer supported
Implementations§
Source§impl GKSendDataMode
impl GKSendDataMode
pub const Reliable: Self
👎Deprecated: No longer supported
Sourcepub const Unreliable: Self
👎Deprecated: No longer supported
pub const Unreliable: Self
a.s.a.p. but requires fragmentation and reassembly for large messages, may stall if network congestion occurs
Trait Implementations§
Source§impl Clone for GKSendDataMode
impl Clone for GKSendDataMode
Source§fn clone(&self) -> GKSendDataMode
fn clone(&self) -> GKSendDataMode
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 GKSendDataMode
impl Debug for GKSendDataMode
Source§impl Encode for GKSendDataMode
impl Encode for GKSendDataMode
Source§impl Hash for GKSendDataMode
impl Hash for GKSendDataMode
Source§impl Ord for GKSendDataMode
impl Ord for GKSendDataMode
Source§fn cmp(&self, other: &GKSendDataMode) -> Ordering
fn cmp(&self, other: &GKSendDataMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GKSendDataMode
impl PartialEq for GKSendDataMode
Source§impl PartialOrd for GKSendDataMode
impl PartialOrd for GKSendDataMode
Source§impl RefEncode for GKSendDataMode
impl RefEncode for GKSendDataMode
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for GKSendDataMode
impl Eq for GKSendDataMode
impl StructuralPartialEq for GKSendDataMode
Auto Trait Implementations§
impl Freeze for GKSendDataMode
impl RefUnwindSafe for GKSendDataMode
impl Send for GKSendDataMode
impl Sync for GKSendDataMode
impl Unpin for GKSendDataMode
impl UnwindSafe for GKSendDataMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.