pub enum CovSubscriptionKey {
Object {
recipient: CovRecipient,
process_id: u32,
object: ObjectIdentifier,
},
Property {
recipient: CovRecipient,
process_id: u32,
object: ObjectIdentifier,
property: PropertyIdentifier,
index: Option<u32>,
},
Multiple {
context: MultipleContextKey,
object: ObjectIdentifier,
property: PropertyIdentifier,
index: Option<u32>,
},
}Expand description
Complete accepted subscription coordinates used by every table operation.
Variants§
Object
Ordinary whole-object subscription.
Fields
§
recipient: CovRecipientOriginal client address, without the immediate router.
§
object: ObjectIdentifierMonitored object identifier.
Property
Single-property subscription. Absent, zero and element indexes are distinct.
Fields
§
recipient: CovRecipientOriginal client address, without the immediate router.
§
object: ObjectIdentifierMonitored object identifier.
§
property: PropertyIdentifierMonitored property identifier.
Multiple
A property reference within a Multiple context.
Fields
§
context: MultipleContextKeyExact Multiple context, including notification form.
§
object: ObjectIdentifierMonitored object identifier.
§
property: PropertyIdentifierMonitored property identifier.
Implementations§
Source§impl CovSubscriptionKey
impl CovSubscriptionKey
Sourcepub fn object(&self) -> ObjectIdentifier
pub fn object(&self) -> ObjectIdentifier
Monitored object shared by all three subscription families.
Sourcepub fn multiple_context(&self) -> Option<&MultipleContextKey>
pub fn multiple_context(&self) -> Option<&MultipleContextKey>
Matching Multiple context, when this is a Multiple reference.
Trait Implementations§
Source§impl Clone for CovSubscriptionKey
impl Clone for CovSubscriptionKey
Source§impl Debug for CovSubscriptionKey
impl Debug for CovSubscriptionKey
impl Eq for CovSubscriptionKey
Source§impl Hash for CovSubscriptionKey
impl Hash for CovSubscriptionKey
Source§impl PartialEq for CovSubscriptionKey
impl PartialEq for CovSubscriptionKey
impl StructuralPartialEq for CovSubscriptionKey
Auto Trait Implementations§
impl Freeze for CovSubscriptionKey
impl RefUnwindSafe for CovSubscriptionKey
impl Send for CovSubscriptionKey
impl Sync for CovSubscriptionKey
impl Unpin for CovSubscriptionKey
impl UnsafeUnpin for CovSubscriptionKey
impl UnwindSafe for CovSubscriptionKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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