pub enum ParseAuctionError {
Call(ParseCallError),
Illegal(IllegalCall),
}Expand description
Error returned when parsing an Auction fails
Variants§
Call(ParseCallError)
A token could not be parsed as a Call
Illegal(IllegalCall)
A parsed call would violate the laws of bidding
Trait Implementations§
Source§impl Clone for ParseAuctionError
impl Clone for ParseAuctionError
Source§fn clone(&self) -> ParseAuctionError
fn clone(&self) -> ParseAuctionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParseAuctionError
impl Debug for ParseAuctionError
Source§impl Display for ParseAuctionError
impl Display for ParseAuctionError
Source§impl Error for ParseAuctionError
impl Error for ParseAuctionError
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<IllegalCall> for ParseAuctionError
impl From<IllegalCall> for ParseAuctionError
Source§fn from(source: IllegalCall) -> Self
fn from(source: IllegalCall) -> Self
Converts to this type from the input type.
Source§impl From<ParseCallError> for ParseAuctionError
impl From<ParseCallError> for ParseAuctionError
Source§fn from(source: ParseCallError) -> Self
fn from(source: ParseCallError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseAuctionError
impl PartialEq for ParseAuctionError
Source§fn eq(&self, other: &ParseAuctionError) -> bool
fn eq(&self, other: &ParseAuctionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParseAuctionError
impl Eq for ParseAuctionError
impl StructuralPartialEq for ParseAuctionError
Auto Trait Implementations§
impl Freeze for ParseAuctionError
impl RefUnwindSafe for ParseAuctionError
impl Send for ParseAuctionError
impl Sync for ParseAuctionError
impl Unpin for ParseAuctionError
impl UnsafeUnpin for ParseAuctionError
impl UnwindSafe for ParseAuctionError
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