pub enum PushError {
PoolFull,
}Expand description
Why a push into the EventList failed. Today only SysEx
payloads can fail to land (the channel-voice EventList::push
path grows the backing Vec instead, since the audio-thread
contract there is “stay under EVENT_LIST_PREALLOC” rather
than “fail closed”).
Variants§
PoolFull
The SysEx byte pool is full. The message wasn’t appended.
Callers either drop it, surface it via a meter, or bump the
pool size via EventList::with_capacity at construction.
Trait Implementations§
Source§impl Error for PushError
impl Error for PushError
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()
impl Copy for PushError
impl Eq for PushError
impl StructuralPartialEq for PushError
Auto Trait Implementations§
impl Freeze for PushError
impl RefUnwindSafe for PushError
impl Send for PushError
impl Sync for PushError
impl Unpin for PushError
impl UnsafeUnpin for PushError
impl UnwindSafe for PushError
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