#[repr(u8)]pub enum Source {
USBFlash = 1,
SDCard = 2,
USBHost = 4,
}
Expand description
Represents available media sources on the DFPlayer
Variants§
USBFlash = 1
Internal USB flash storage
SDCard = 2
SD card inserted in the module
USBHost = 4
External USB device connected to the module
Trait Implementations§
impl Copy for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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