pub trait FieldInterests {
type PreferredLifetimeInfo: MaybeInterest<PreferredLifetimeInfo>;
type ValidUntil: MaybeInterest<PositiveMonotonicInstant>;
}
Expand description
A trait that parameterizes interest in fields from interfaces watcher.
Use EnableInterest
or DisableInterest
in each type to
enable/disable interest in receiving those fields from the server,
respectively.
Required Associated Types§
Sourcetype PreferredLifetimeInfo: MaybeInterest<PreferredLifetimeInfo>
type PreferredLifetimeInfo: MaybeInterest<PreferredLifetimeInfo>
Interest in the preferred_lifetime_info
field.
Sourcetype ValidUntil: MaybeInterest<PositiveMonotonicInstant>
type ValidUntil: MaybeInterest<PositiveMonotonicInstant>
Interest in the valid_until
field.