pub enum Unavailable {}Expand description
The bus, line, and delay of a platform with no spidev or GPIO character device.
No value of it exists, so a LinuxRadio can be named on any platform and opened only on
Linux.
Trait Implementations§
Source§fn clone(&self) -> Unavailable
fn clone(&self) -> Unavailable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn delay_ns(&mut self, _: u32)
fn delay_ns(&mut self, _: u32)
Pauses execution for at minimum
ns nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§fn eq(&self, other: &Unavailable) -> bool
fn eq(&self, other: &Unavailable) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§fn transaction(&mut self, _: &mut [Operation<'_, u8>]) -> Result<(), ErrorKind>
fn transaction(&mut self, _: &mut [Operation<'_, u8>]) -> Result<(), ErrorKind>
Perform a transaction against the device. Read more
§fn read(&mut self, buf: &mut [Word]) -> Result<(), Self::Error>
fn read(&mut self, buf: &mut [Word]) -> Result<(), Self::Error>
Do a read within a transaction. Read more
§fn write(&mut self, buf: &[Word]) -> Result<(), Self::Error>
fn write(&mut self, buf: &[Word]) -> Result<(), Self::Error>
Do a write within a transaction. Read more
Auto Trait Implementations§
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