pub unsafe trait NSDictionaryOBEXExtensions:
ClassType
+ Sized
+ Sealed {
Show 24 methods
// Provided methods
unsafe fn dictionaryWithOBEXHeadersData_headersDataSize(
in_headers_data: *const c_void,
in_data_size: usize,
) -> Option<Retained<Self>> { ... }
unsafe fn dictionaryWithOBEXHeadersData(
in_headers_data: Option<&NSData>,
) -> Option<Retained<Self>> { ... }
unsafe fn getHeaderBytes(&self) -> Option<Retained<NSMutableData>> { ... }
unsafe fn addTargetHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addHTTPHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addBodyHeader_length_endOfBody(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
is_end_of_body: bool,
) -> OBEXError { ... }
unsafe fn addWhoHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addConnectionIDHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addApplicationParameterHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addByteSequenceHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addObjectClassHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addAuthorizationChallengeHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addAuthorizationResponseHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addTimeISOHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addTypeHeader(&self, type: Option<&NSString>) -> OBEXError { ... }
unsafe fn addLengthHeader(&self, length: u32) -> OBEXError { ... }
unsafe fn addTime4ByteHeader(&self, time4_byte: u32) -> OBEXError { ... }
unsafe fn addCountHeader(&self, in_count: u32) -> OBEXError { ... }
unsafe fn addDescriptionHeader(
&self,
in_description_string: Option<&NSString>,
) -> OBEXError { ... }
unsafe fn addNameHeader(
&self,
in_name_string: Option<&NSString>,
) -> OBEXError { ... }
unsafe fn addUserDefinedHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn addImageHandleHeader(&self, type: Option<&NSString>) -> OBEXError { ... }
unsafe fn addImageDescriptorHeader_length(
&self,
in_header_data: *const c_void,
in_header_data_length: u32,
) -> OBEXError { ... }
unsafe fn withOBEXHeadersData_headersDataSize(
in_headers_data: *const c_void,
in_data_size: usize,
) -> Option<Retained<Self>> { ... }
}Available on crate features
NSDictionaryOBEXExtensions and objc2 only.Expand description
Category on NSMutableDictionary.
Provided Methods§
unsafe fn dictionaryWithOBEXHeadersData_headersDataSize( in_headers_data: *const c_void, in_data_size: usize, ) -> Option<Retained<Self>>
unsafe fn dictionaryWithOBEXHeadersData( in_headers_data: Option<&NSData>, ) -> Option<Retained<Self>>
Available on crate feature
objc2-foundation only.unsafe fn getHeaderBytes(&self) -> Option<Retained<NSMutableData>>
Available on crate feature
objc2-foundation only.unsafe fn addTargetHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addHTTPHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addBodyHeader_length_endOfBody( &self, in_header_data: *const c_void, in_header_data_length: u32, is_end_of_body: bool, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addWhoHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addConnectionIDHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addApplicationParameterHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addByteSequenceHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addObjectClassHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addAuthorizationChallengeHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addAuthorizationResponseHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addTimeISOHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addTypeHeader(&self, type: Option<&NSString>) -> OBEXError
Available on crate features
OBEX and objc2-foundation only.unsafe fn addLengthHeader(&self, length: u32) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addTime4ByteHeader(&self, time4_byte: u32) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addCountHeader(&self, in_count: u32) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addDescriptionHeader( &self, in_description_string: Option<&NSString>, ) -> OBEXError
Available on crate features
OBEX and objc2-foundation only.unsafe fn addNameHeader(&self, in_name_string: Option<&NSString>) -> OBEXError
Available on crate features
OBEX and objc2-foundation only.unsafe fn addUserDefinedHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn addImageHandleHeader(&self, type: Option<&NSString>) -> OBEXError
Available on crate features
OBEX and objc2-foundation only.unsafe fn addImageDescriptorHeader_length( &self, in_header_data: *const c_void, in_header_data_length: u32, ) -> OBEXError
Available on crate feature
OBEX only.unsafe fn withOBEXHeadersData_headersDataSize( in_headers_data: *const c_void, in_data_size: usize, ) -> Option<Retained<Self>>
👎Deprecated: No longer supported
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
impl NSDictionaryOBEXExtensions for NSMutableDictionary
Available on crate feature
objc2-foundation only.