pub enum EditError {
Show 13 variants
InvalidTrackIndex(usize, usize),
ClipNotFound(u64),
InvalidTimeRange {
start: i64,
end: i64,
},
InvalidTransition(String),
ClipOverlap(i64, usize),
TrackTypeMismatch {
expected: ClipType,
got: ClipType,
},
InvalidEdit(String),
InvalidOperation(String),
KeyframeError(String),
RenderError(String),
CodecError(OxiError),
IoError(Error),
GraphError(GraphError),
}Expand description
Errors that can occur during timeline editing.
Variants§
InvalidTrackIndex(usize, usize)
Track index out of bounds.
ClipNotFound(u64)
Clip not found.
InvalidTimeRange
Invalid time range.
InvalidTransition(String)
Invalid transition parameters.
ClipOverlap(i64, usize)
Clip overlap detected.
TrackTypeMismatch
Clip type does not match the track type.
Fields
InvalidEdit(String)
Invalid edit operation.
InvalidOperation(String)
Invalid operation (e.g., unsupported format or capability).
KeyframeError(String)
Keyframe error.
RenderError(String)
Render error.
CodecError(OxiError)
Codec error.
IoError(Error)
I/O error.
GraphError(GraphError)
Graph error.
Trait Implementations§
Source§impl Error for EditError
impl Error for EditError
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 From<GraphError> for EditError
impl From<GraphError> for EditError
Source§fn from(source: GraphError) -> Self
fn from(source: GraphError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EditError
impl !UnwindSafe for EditError
impl Freeze for EditError
impl Send for EditError
impl Sync for EditError
impl Unpin for EditError
impl UnsafeUnpin for EditError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<E> OxiErrorExt for Ewhere
E: Error,
impl<E> OxiErrorExt for Ewhere
E: Error,
Source§fn with_oxi_context(self, frame: ErrorFrame) -> OxiError
fn with_oxi_context(self, frame: ErrorFrame) -> OxiError
Wraps
self by prepending the frame’s display string as context.