pub enum TransportType {
L2cap,
Rfcomm,
}
Expand description
The underlying communication protocol used for the OBEX transport.
Variants§
Implementations§
Source§impl TransportType
impl TransportType
pub fn srm_supported(&self) -> bool
Trait Implementations§
Source§impl Clone for TransportType
impl Clone for TransportType
Source§fn clone(&self) -> TransportType
fn clone(&self) -> TransportType
Returns a copy 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 TransportType
impl Debug for TransportType
Source§impl From<ConnectParameters> for TransportType
impl From<ConnectParameters> for TransportType
Source§fn from(src: ConnectParameters) -> TransportType
fn from(src: ConnectParameters) -> TransportType
Converts to this type from the input type.
Source§impl PartialEq for TransportType
impl PartialEq for TransportType
impl Copy for TransportType
impl StructuralPartialEq for TransportType
Auto Trait Implementations§
impl Freeze for TransportType
impl RefUnwindSafe for TransportType
impl Send for TransportType
impl Sync for TransportType
impl Unpin for TransportType
impl UnwindSafe for TransportType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)