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§
source§impl Clone for NetworkError
impl Clone for NetworkError
source§fn clone(&self) -> NetworkError
fn clone(&self) -> NetworkError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NetworkError
impl Debug for NetworkError
source§impl Display for NetworkError
impl Display for NetworkError
source§impl Error for NetworkError
impl Error for NetworkError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<NetworkError> for NetworkError
impl PartialEq<NetworkError> for NetworkError
source§fn eq(&self, other: &NetworkError) -> bool
fn eq(&self, other: &NetworkError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.