#[repr(transparent)]pub struct HttpHandlerId(pub u32);Expand description
The index of an HTTP handler as defined in a module’s HTTP handler list.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for HttpHandlerId
impl Clone for HttpHandlerId
Source§fn clone(&self) -> HttpHandlerId
fn clone(&self) -> HttpHandlerId
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 moreimpl Copy for HttpHandlerId
Source§impl Debug for HttpHandlerId
impl Debug for HttpHandlerId
Source§impl Default for HttpHandlerId
impl Default for HttpHandlerId
Source§fn default() -> HttpHandlerId
fn default() -> HttpHandlerId
Returns the “default value” for a type. Read more
Source§impl Display for HttpHandlerId
impl Display for HttpHandlerId
impl Eq for HttpHandlerId
Source§impl From<HttpHandlerId> for u32
impl From<HttpHandlerId> for u32
Source§fn from(value: HttpHandlerId) -> Self
fn from(value: HttpHandlerId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for HttpHandlerId
impl From<i32> for HttpHandlerId
Source§impl From<u32> for HttpHandlerId
impl From<u32> for HttpHandlerId
Source§impl From<usize> for HttpHandlerId
impl From<usize> for HttpHandlerId
Source§impl Hash for HttpHandlerId
impl Hash for HttpHandlerId
impl IsEnabled for HttpHandlerId
Source§impl Ord for HttpHandlerId
impl Ord for HttpHandlerId
Source§fn cmp(&self, other: &HttpHandlerId) -> Ordering
fn cmp(&self, other: &HttpHandlerId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HttpHandlerId
impl PartialEq for HttpHandlerId
Source§fn eq(&self, other: &HttpHandlerId) -> bool
fn eq(&self, other: &HttpHandlerId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HttpHandlerId
impl PartialOrd for HttpHandlerId
impl StructuralPartialEq for HttpHandlerId
Auto Trait Implementations§
impl Freeze for HttpHandlerId
impl RefUnwindSafe for HttpHandlerId
impl Send for HttpHandlerId
impl Sync for HttpHandlerId
impl Unpin for HttpHandlerId
impl UnsafeUnpin for HttpHandlerId
impl UnwindSafe for HttpHandlerId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more