Struct lsynth::errors::InvalidChannelError
source · [−]Expand description
Occurs when attempting to send a command to a channel that does not exist.
Fields
attempted_channel: usize
The channel that a command was attempted to be sent to.
max_channels_of_chip: usize
How many channels the chip actually has.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InvalidChannelError
impl Send for InvalidChannelError
impl Sync for InvalidChannelError
impl Unpin for InvalidChannelError
impl UnwindSafe for InvalidChannelError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more