#[non_exhaustive]pub enum RealtimeIngressError {
EmptyBatch,
ShapeOverflow {
rows: usize,
columns: usize,
},
PayloadShape {
payload: RealtimePayloadKind,
expected: usize,
actual: usize,
},
ForcingMaskWithoutPayload,
ForcingMaskCount {
expected: usize,
actual: usize,
},
TokenDomain {
kind: RealtimeTokenKind,
token: i32,
cardinality: usize,
},
}Expand description
Invalid portable realtime input detected before opaque materialization.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EmptyBatch
Realtime input must contain at least one batch row.
ShapeOverflow
A row-major payload shape overflowed.
PayloadShape
A row-major payload has the wrong number of values.
Fields
§
payload: RealtimePayloadKindAffected payload.
ForcingMaskWithoutPayload
A partial forcing mask was supplied without audio payloads.
ForcingMaskCount
A generated-audio forcing mask has the wrong codebook count.
TokenDomain
A selected token is outside its exact zero-based domain.
Trait Implementations§
Source§impl Clone for RealtimeIngressError
impl Clone for RealtimeIngressError
Source§fn clone(&self) -> RealtimeIngressError
fn clone(&self) -> RealtimeIngressError
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§impl Debug for RealtimeIngressError
impl Debug for RealtimeIngressError
Source§impl Display for RealtimeIngressError
impl Display for RealtimeIngressError
impl Eq for RealtimeIngressError
Source§impl Error for RealtimeIngressError
impl Error for RealtimeIngressError
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§impl PartialEq for RealtimeIngressError
impl PartialEq for RealtimeIngressError
impl StructuralPartialEq for RealtimeIngressError
Auto Trait Implementations§
impl Freeze for RealtimeIngressError
impl RefUnwindSafe for RealtimeIngressError
impl Send for RealtimeIngressError
impl Sync for RealtimeIngressError
impl Unpin for RealtimeIngressError
impl UnsafeUnpin for RealtimeIngressError
impl UnwindSafe for RealtimeIngressError
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