pub struct AddPlayerEvent<'a, C, P: Schema> { /* private fields */ }Implementations§
Source§impl<'a, C, P> AddPlayerEvent<'a, C, P>
impl<'a, C, P> AddPlayerEvent<'a, C, P>
pub fn player(&self) -> &Unpacked<'a, P>
pub async fn accept<J, K>( self, info: K, scope: &Scope<'_>, ) -> Result<(), C::Error>
pub async fn accept_with<J, K, F>( self, f: F, scope: &Scope<'_>, ) -> Result<(), C::Error>
pub async fn try_accept_with<J, K, F, E>( self, f: F, scope: &Scope<'_>, ) -> Result<(), E>
Auto Trait Implementations§
impl<'a, C, P> Freeze for AddPlayerEvent<'a, C, P>
impl<'a, C, P> RefUnwindSafe for AddPlayerEvent<'a, C, P>
impl<'a, C, P> Send for AddPlayerEvent<'a, C, P>
impl<'a, C, P> Sync for AddPlayerEvent<'a, C, P>
impl<'a, C, P> Unpin for AddPlayerEvent<'a, C, P>
impl<'a, C, P> !UnwindSafe for AddPlayerEvent<'a, C, P>
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