pub struct NotificationContext<R: ServiceRole> {
pub meta: Meta,
pub extensions: Extensions,
pub peer: Peer<R>,
}Available on crate features
client or server only.Expand description
Request execution context
Fields§
§meta: Meta§extensions: Extensions§peer: Peer<R>An interface to fetch the remote client or server
Trait Implementations§
Source§impl<R: Clone + ServiceRole> Clone for NotificationContext<R>
impl<R: Clone + ServiceRole> Clone for NotificationContext<R>
Source§fn clone(&self) -> NotificationContext<R>
fn clone(&self) -> NotificationContext<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<R> Freeze for NotificationContext<R>
impl<R> !RefUnwindSafe for NotificationContext<R>
impl<R> Send for NotificationContext<R>
impl<R> Sync for NotificationContext<R>
impl<R> Unpin for NotificationContext<R>
impl<R> !UnwindSafe for NotificationContext<R>
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