[−][src]Enum twilight_http::routing::PathParseError
Variants
The ID couldn't be parsed as an integer.
Fields of IntegerParsing
source: ParseIntError
Additional information about the parsing failure.
When parsing into a Path::ChannelsIdMessagesId
variant, the method
must also be specified via its TryFrom
impl.
Fields of MessageIdWithoutMethod
channel_id: u64
The ID of the channel.
A static path for the provided path string wasn't found.
Trait Implementations
impl Clone for PathParseError
[src]
fn clone(&self) -> PathParseError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PathParseError
[src]
impl Display for PathParseError
[src]
impl Eq for PathParseError
[src]
impl Error for PathParseError
[src]
fn source(&self) -> Option<&(dyn StdError + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<ParseIntError> for PathParseError
[src]
fn from(source: ParseIntError) -> Self
[src]
impl PartialEq<PathParseError> for PathParseError
[src]
fn eq(&self, other: &PathParseError) -> bool
[src]
fn ne(&self, other: &PathParseError) -> bool
[src]
impl StructuralEq for PathParseError
[src]
impl StructuralPartialEq for PathParseError
[src]
Auto Trait Implementations
impl RefUnwindSafe for PathParseError
impl Send for PathParseError
impl Sync for PathParseError
impl Unpin for PathParseError
impl UnwindSafe for PathParseError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,