pub struct CallRef {
pub conn: u64,
pub subscription: u64,
}Expand description
The gate’s terms for a duplex call (plexus-auth-core), re-exported so a caller of this module needs no second import. BIDIR-8: which call a refusal was about — the connection it runs on and its subscription there (the slot BIDIR-6 keys a duplex call by).
Fields§
§conn: u64The connection, as the transport numbers it.
subscription: u64The call’s subscription on that connection.
Trait Implementations§
impl Copy for CallRef
Source§impl<'de> Deserialize<'de> for CallRef
impl<'de> Deserialize<'de> for CallRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CallRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CallRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CallRef
Source§impl Serialize for CallRef
impl Serialize for CallRef
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CallRef
Auto Trait Implementations§
impl Forget for CallRef
impl Freeze for CallRef
impl RefUnwindSafe for CallRef
impl Send for CallRef
impl Sync for CallRef
impl Unpin for CallRef
impl UnsafeUnpin for CallRef
impl UnwindSafe for CallRef
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.