pub enum TiramiError {
ModelNotFound(String),
ModelLoadError(String),
InferenceError(String),
InvalidLayerRange {
start: u32,
end: u32,
},
PeerNotFound(String),
NetworkError(String),
ShardAssignmentError(String),
LedgerError(String),
InvalidRequest(String),
Io(Error),
}Variants§
ModelNotFound(String)
ModelLoadError(String)
InferenceError(String)
InvalidLayerRange
PeerNotFound(String)
NetworkError(String)
ShardAssignmentError(String)
LedgerError(String)
InvalidRequest(String)
Io(Error)
Trait Implementations§
Source§impl Debug for TiramiError
impl Debug for TiramiError
Source§impl Display for TiramiError
impl Display for TiramiError
Source§impl Error for TiramiError
impl Error for TiramiError
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()
Auto Trait Implementations§
impl Freeze for TiramiError
impl !RefUnwindSafe for TiramiError
impl Send for TiramiError
impl Sync for TiramiError
impl Unpin for TiramiError
impl UnsafeUnpin for TiramiError
impl !UnwindSafe for TiramiError
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