pub struct DirectMessageEventHandler(pub fn(&mut WSPayload, &mut WSDirectMessageData) -> Result<()>);Tuple Fields§
§0: fn(&mut WSPayload, &mut WSDirectMessageData) -> Result<()>Trait Implementations§
Source§impl Clone for DirectMessageEventHandler
impl Clone for DirectMessageEventHandler
Source§fn clone(&self) -> DirectMessageEventHandler
fn clone(&self) -> DirectMessageEventHandler
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 DirectMessageEventHandler
Auto Trait Implementations§
impl Freeze for DirectMessageEventHandler
impl RefUnwindSafe for DirectMessageEventHandler
impl Send for DirectMessageEventHandler
impl Sync for DirectMessageEventHandler
impl Unpin for DirectMessageEventHandler
impl UnsafeUnpin for DirectMessageEventHandler
impl UnwindSafe for DirectMessageEventHandler
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