pub struct ProtocolDescriptor {
pub protocol: ProtocolIdentifier,
pub params: Vec<DataElement>,
}
Expand description
Information about a communications protocol.
Corresponds directly to the FIDL ProtocolDescriptor
definition - with the extra
properties of Clone and PartialEq.
See [fuchsia.bluetooth.bredr.ProtocolDescriptor] for more documentation.
Fields§
§protocol: ProtocolIdentifier
§params: Vec<DataElement>
Trait Implementations§
Source§impl Clone for ProtocolDescriptor
impl Clone for ProtocolDescriptor
Source§fn clone(&self) -> ProtocolDescriptor
fn clone(&self) -> ProtocolDescriptor
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 ProtocolDescriptor
impl Debug for ProtocolDescriptor
Source§impl From<&ProtocolDescriptor> for ProtocolDescriptor
impl From<&ProtocolDescriptor> for ProtocolDescriptor
Source§fn from(src: &ProtocolDescriptor) -> ProtocolDescriptor
fn from(src: &ProtocolDescriptor) -> ProtocolDescriptor
Converts to this type from the input type.
Source§impl PartialEq for ProtocolDescriptor
impl PartialEq for ProtocolDescriptor
Source§impl TryFrom<&ProtocolDescriptor> for ProtocolDescriptor
impl TryFrom<&ProtocolDescriptor> for ProtocolDescriptor
impl StructuralPartialEq for ProtocolDescriptor
Auto Trait Implementations§
impl Freeze for ProtocolDescriptor
impl RefUnwindSafe for ProtocolDescriptor
impl Send for ProtocolDescriptor
impl Sync for ProtocolDescriptor
impl Unpin for ProtocolDescriptor
impl UnwindSafe for ProtocolDescriptor
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
)