[−][src]Struct usb_device::descriptor::BosWriter
A writer for Binary Object Store descriptor.
Implementations
impl<'w, 'a: 'w> BosWriter<'w, 'a>
[src][−]
pub fn capability(&mut self, capability_type: u8, data: &[u8]) -> Result<()>
[src][−]
Writes capability descriptor to a BOS
Arguments
capability_type
- Type of a capabilitydata
- Binary data of the descriptor
Auto Trait Implementations
impl<'w, 'a> Send for BosWriter<'w, 'a>
impl<'w, 'a> Sync for BosWriter<'w, 'a>
impl<'w, 'a> Unpin for BosWriter<'w, 'a> where
'a: 'w,
'a: 'w,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,