pub struct Other { /* private fields */ }Expand description
Other USB function implemented by a kernel function driver.
Driver name xxx corresponds to kernel module usb_f_xxx.ko.
Implementations§
Source§impl Other
impl Other
Sourcepub fn new(driver: impl AsRef<OsStr>) -> Result<(Other, Handle)>
pub fn new(driver: impl AsRef<OsStr>) -> Result<(Other, Handle)>
Create a new other function implemented by the specified kernel function driver.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Other
impl RefUnwindSafe for Other
impl Send for Other
impl Sync for Other
impl Unpin for Other
impl UnsafeUnpin for Other
impl UnwindSafe for Other
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