pub struct RpcRequestInfo {
pub source: Source,
}Expand description
Information about an incoming RPC request that is not part of the request itself.
The IPC client fills this in from the message that carried the request. The source is the one
reported by the CommunicationBackend, so how far it can
be trusted for decisions such as checking which endpoint sent the request depends on that
backend.
Fields§
§source: SourceThe endpoint that sent the request, including per-variant metadata such as the origin of a web page.
Trait Implementations§
Source§impl Clone for RpcRequestInfo
impl Clone for RpcRequestInfo
Source§fn clone(&self) -> RpcRequestInfo
fn clone(&self) -> RpcRequestInfo
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 moreSource§impl Debug for RpcRequestInfo
impl Debug for RpcRequestInfo
impl Eq for RpcRequestInfo
Source§impl PartialEq for RpcRequestInfo
impl PartialEq for RpcRequestInfo
impl StructuralPartialEq for RpcRequestInfo
Auto Trait Implementations§
impl Freeze for RpcRequestInfo
impl RefUnwindSafe for RpcRequestInfo
impl Send for RpcRequestInfo
impl Sync for RpcRequestInfo
impl Unpin for RpcRequestInfo
impl UnsafeUnpin for RpcRequestInfo
impl UnwindSafe for RpcRequestInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more