#[repr(transparent)]pub struct OBEXOpCodeSessionValues(pub c_uint);Available on crate feature
OBEX only.Expand description
Operation OpCode values for sessions. From the OBEX 1.3 specification.
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl OBEXOpCodeSessionValues
impl OBEXOpCodeSessionValues
pub const CreateSession: Self
pub const CloseSession: Self
pub const SuspendSession: Self
pub const ResumeSession: Self
pub const SetTimeout: Self
Trait Implementations§
Source§impl Clone for OBEXOpCodeSessionValues
impl Clone for OBEXOpCodeSessionValues
Source§fn clone(&self) -> OBEXOpCodeSessionValues
fn clone(&self) -> OBEXOpCodeSessionValues
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 OBEXOpCodeSessionValues
impl Debug for OBEXOpCodeSessionValues
Source§impl Encode for OBEXOpCodeSessionValues
Available on crate feature objc2 only.
impl Encode for OBEXOpCodeSessionValues
Available on crate feature
objc2 only.Source§impl Hash for OBEXOpCodeSessionValues
impl Hash for OBEXOpCodeSessionValues
Source§impl Ord for OBEXOpCodeSessionValues
impl Ord for OBEXOpCodeSessionValues
Source§fn cmp(&self, other: &OBEXOpCodeSessionValues) -> Ordering
fn cmp(&self, other: &OBEXOpCodeSessionValues) -> 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 OBEXOpCodeSessionValues
impl PartialEq for OBEXOpCodeSessionValues
Source§impl PartialOrd for OBEXOpCodeSessionValues
impl PartialOrd for OBEXOpCodeSessionValues
Source§impl RefEncode for OBEXOpCodeSessionValues
Available on crate feature objc2 only.
impl RefEncode for OBEXOpCodeSessionValues
Available on crate feature
objc2 only.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 OBEXOpCodeSessionValues
impl Eq for OBEXOpCodeSessionValues
impl StructuralPartialEq for OBEXOpCodeSessionValues
Auto Trait Implementations§
impl Freeze for OBEXOpCodeSessionValues
impl RefUnwindSafe for OBEXOpCodeSessionValues
impl Send for OBEXOpCodeSessionValues
impl Sync for OBEXOpCodeSessionValues
impl Unpin for OBEXOpCodeSessionValues
impl UnwindSafe for OBEXOpCodeSessionValues
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.