pub struct ClientId(pub u64);Expand description
Client id wrapper.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl<StateT> FromRequest<StateT> for ClientId
impl<StateT> FromRequest<StateT> for ClientId
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<StateT>, ) -> Result<Self, Self::Rejection>
impl Copy for ClientId
impl Eq for ClientId
impl StructuralPartialEq for ClientId
Auto Trait Implementations§
impl Freeze for ClientId
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnwindSafe for ClientId
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