Enum boxcars::NetworkError
source · [−]pub enum NetworkError {
NotEnoughDataFor(&'static str),
ObjectIdOutOfRange(ObjectId),
StreamTooLargeIndex(i32, i32),
MissingParentClass(String, String),
ParentHasNoAttributes(ObjectId, ObjectId),
FrameError(FrameError, Box<FrameContext>),
TooManyFrames(i32),
}
Variants
NotEnoughDataFor(&'static str)
ObjectIdOutOfRange(ObjectId)
StreamTooLargeIndex(i32, i32)
MissingParentClass(String, String)
ParentHasNoAttributes(ObjectId, ObjectId)
FrameError(FrameError, Box<FrameContext>)
TooManyFrames(i32)
Trait Implementations
sourceimpl Clone for NetworkError
impl Clone for NetworkError
sourcefn clone(&self) -> NetworkError
fn clone(&self) -> NetworkError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NetworkError
impl Debug for NetworkError
sourceimpl Display for NetworkError
impl Display for NetworkError
sourceimpl Error for NetworkError
impl Error for NetworkError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl PartialEq<NetworkError> for NetworkError
impl PartialEq<NetworkError> for NetworkError
sourcefn eq(&self, other: &NetworkError) -> bool
fn eq(&self, other: &NetworkError) -> bool
impl StructuralPartialEq for NetworkError
Auto Trait Implementations
impl RefUnwindSafe for NetworkError
impl Send for NetworkError
impl Sync for NetworkError
impl Unpin for NetworkError
impl UnwindSafe for NetworkError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more