pub struct RegistrationConsumer { /* private fields */ }Expand description
Stateful, bounded reg package consumer.
Implementations§
Trait Implementations§
Source§impl Debug for RegistrationConsumer
impl Debug for RegistrationConsumer
Source§impl PackageConsumer for RegistrationConsumer
impl PackageConsumer for RegistrationConsumer
Source§type Value = RegistrationSnapshot
type Value = RegistrationSnapshot
Owned application value produced by this package.
Source§fn neutral(&mut self) -> Option<Self::Value>
fn neutral(&mut self) -> Option<Self::Value>
Neutral value delivered before the first NOTIFY, when the package defines one.
Source§fn empty_terminal_is_valid(&self) -> bool
fn empty_terminal_is_valid(&self) -> bool
Whether an empty terminal body is valid without invoking the consumer.
Auto Trait Implementations§
impl Freeze for RegistrationConsumer
impl RefUnwindSafe for RegistrationConsumer
impl Send for RegistrationConsumer
impl Sync for RegistrationConsumer
impl Unpin for RegistrationConsumer
impl UnsafeUnpin for RegistrationConsumer
impl UnwindSafe for RegistrationConsumer
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more