pub enum RLBotError {
Connection(Error),
PacketParseError(PacketParseError),
PacketBuildError(PacketBuildError),
InvalidAddrError(AddrParseError),
}Expand description
Something went wrong while talking to core over the socket.
Variants§
Connection(Error)
PacketParseError(PacketParseError)
PacketBuildError(PacketBuildError)
InvalidAddrError(AddrParseError)
Trait Implementations§
Source§impl Debug for RLBotError
impl Debug for RLBotError
Source§impl Display for RLBotError
impl Display for RLBotError
Source§impl Error for RLBotError
impl Error for RLBotError
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<AddrParseError> for RLBotError
impl From<AddrParseError> for RLBotError
Source§fn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RLBotError
impl From<Error> for RLBotError
Source§impl From<PacketBuildError> for RLBotError
impl From<PacketBuildError> for RLBotError
Source§fn from(source: PacketBuildError) -> Self
fn from(source: PacketBuildError) -> Self
Converts to this type from the input type.
Source§impl From<PacketParseError> for RLBotError
impl From<PacketParseError> for RLBotError
Source§fn from(source: PacketParseError) -> Self
fn from(source: PacketParseError) -> Self
Converts to this type from the input type.
Source§impl From<RLBotError> for AgentError
impl From<RLBotError> for AgentError
Source§fn from(source: RLBotError) -> Self
fn from(source: RLBotError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RLBotError
impl !UnwindSafe for RLBotError
impl Freeze for RLBotError
impl Send for RLBotError
impl Sync for RLBotError
impl Unpin for RLBotError
impl UnsafeUnpin for RLBotError
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