#[repr(C)]pub struct OBEXSessionEvent {
pub type: OBEXSessionEventType,
pub session: OBEXSessionRef,
pub refCon: *mut c_void,
pub isEndOfEventData: u8,
pub reserved1: *mut c_void,
pub reserved2: *mut c_void,
pub u: OBEXSessionEvent_u,
}Available on crate feature
OBEX only.Expand description
Fields§
§type: OBEXSessionEventType§session: OBEXSessionRef§refCon: *mut c_void§isEndOfEventData: u8§reserved1: *mut c_void§reserved2: *mut c_void§u: OBEXSessionEvent_uTrait Implementations§
Source§impl Clone for OBEXSessionEvent
impl Clone for OBEXSessionEvent
Source§fn clone(&self) -> OBEXSessionEvent
fn clone(&self) -> OBEXSessionEvent
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 Encode for OBEXSessionEvent
Available on crate feature objc2 only.
impl Encode for OBEXSessionEvent
Available on crate feature
objc2 only.Source§impl RefEncode for OBEXSessionEvent
Available on crate feature objc2 only.
impl RefEncode for OBEXSessionEvent
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 OBEXSessionEvent
Auto Trait Implementations§
impl Freeze for OBEXSessionEvent
impl !RefUnwindSafe for OBEXSessionEvent
impl !Send for OBEXSessionEvent
impl !Sync for OBEXSessionEvent
impl Unpin for OBEXSessionEvent
impl !UnwindSafe for OBEXSessionEvent
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.