pub enum TransportSpec {
UserChannel(u16),
Serial {
path: String,
baud: u32,
flow_control: bool,
},
Tcp(String),
}Expand description
Which controller to open.
Variants§
UserChannel(u16)
The Linux HCI user channel of hciN.
Serial
H4 over a serial port.
Fields
Tcp(String)
H4 over TCP, as host:port.
Trait Implementations§
Source§impl Clone for TransportSpec
impl Clone for TransportSpec
Source§impl Debug for TransportSpec
impl Debug for TransportSpec
Source§impl Display for TransportSpec
impl Display for TransportSpec
impl Eq for TransportSpec
Source§impl FromStr for TransportSpec
impl FromStr for TransportSpec
Source§impl PartialEq for TransportSpec
impl PartialEq for TransportSpec
impl StructuralPartialEq for TransportSpec
Auto Trait Implementations§
impl Freeze for TransportSpec
impl RefUnwindSafe for TransportSpec
impl Send for TransportSpec
impl Sync for TransportSpec
impl Unpin for TransportSpec
impl UnsafeUnpin for TransportSpec
impl UnwindSafe for TransportSpec
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