pub enum SequenceError {
DatabaseError(Error),
ModelSelect(ModelSelectError),
NoSequence(),
AssetMissingSequenceName(),
MissingSequenceLength(),
CachePoisoned(String),
InvalidRegion {
name: String,
reason: String,
},
Io(String),
Utf8(String),
IdMissing {
file_path: String,
name: String,
},
BoundsError {
start: i64,
end: i64,
length: i64,
},
AssetResolution(String),
}Variants§
DatabaseError(Error)
ModelSelect(ModelSelectError)
NoSequence()
AssetMissingSequenceName()
MissingSequenceLength()
CachePoisoned(String)
InvalidRegion
Io(String)
Utf8(String)
IdMissing
BoundsError
AssetResolution(String)
Trait Implementations§
Source§impl Debug for SequenceError
impl Debug for SequenceError
Source§impl Display for SequenceError
impl Display for SequenceError
Source§impl Error for SequenceError
impl Error for SequenceError
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<Error> for SequenceError
impl From<Error> for SequenceError
Source§impl From<ModelSelectError> for SequenceError
impl From<ModelSelectError> for SequenceError
Source§fn from(source: ModelSelectError) -> Self
fn from(source: ModelSelectError) -> Self
Converts to this type from the input type.
Source§impl From<SequenceError> for BlockGroupError
impl From<SequenceError> for BlockGroupError
Source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Converts to this type from the input type.
Source§impl From<SequenceError> for EdgeError
impl From<SequenceError> for EdgeError
Source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Converts to this type from the input type.
Source§impl From<SequenceError> for PathError
impl From<SequenceError> for PathError
Source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SequenceError
impl PartialEq for SequenceError
impl StructuralPartialEq for SequenceError
Auto Trait Implementations§
impl !RefUnwindSafe for SequenceError
impl !UnwindSafe for SequenceError
impl Freeze for SequenceError
impl Send for SequenceError
impl Sync for SequenceError
impl Unpin for SequenceError
impl UnsafeUnpin for SequenceError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 more