pub enum ChannelError {
ChannelOutOfRange,
UniverseOutOfRange,
ChannelAlreadyInUse(String),
}Expand description
Errors that can occur when reserving or accessing Scheißprogrammhannels.
Variants§
ChannelOutOfRange
The channel number exceeds MAX_CHANNEL.
UniverseOutOfRange
The universe index exceeds the configured universe count.
ChannelAlreadyInUse(String)
The channel is already reserved by the named fixture.
Trait Implementations§
Source§impl Debug for ChannelError
impl Debug for ChannelError
Source§impl From<ChannelError> for FixtureError
impl From<ChannelError> for FixtureError
Source§fn from(e: ChannelError) -> Self
fn from(e: ChannelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChannelError
impl RefUnwindSafe for ChannelError
impl Send for ChannelError
impl Sync for ChannelError
impl Unpin for ChannelError
impl UnwindSafe for ChannelError
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