pub struct OrbitError {
pub code: OrbitErrorCode,
/* private fields */
}Fields§
§code: OrbitErrorCodeImplementations§
Source§impl OrbitError
impl OrbitError
pub fn new(code: OrbitErrorCode, message: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for OrbitError
impl Clone for OrbitError
Source§impl Debug for OrbitError
impl Debug for OrbitError
Source§impl Display for OrbitError
impl Display for OrbitError
impl Eq for OrbitError
Source§impl Error for OrbitError
impl Error for OrbitError
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 OrbitError
impl PartialEq for OrbitError
impl StructuralPartialEq for OrbitError
Auto Trait Implementations§
impl Freeze for OrbitError
impl RefUnwindSafe for OrbitError
impl Send for OrbitError
impl Sync for OrbitError
impl Unpin for OrbitError
impl UnsafeUnpin for OrbitError
impl UnwindSafe for OrbitError
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