pub enum AddressStateProviderEvent {
OnAddressAdded {},
OnAddressRemoved {
error: AddressRemovalReason,
},
}
Variants§
Implementations§
Source§impl AddressStateProviderEvent
impl AddressStateProviderEvent
pub fn into_on_address_added(self) -> Option<()>
pub fn into_on_address_removed(self) -> Option<AddressRemovalReason>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddressStateProviderEvent
impl RefUnwindSafe for AddressStateProviderEvent
impl Send for AddressStateProviderEvent
impl Sync for AddressStateProviderEvent
impl Unpin for AddressStateProviderEvent
impl UnwindSafe for AddressStateProviderEvent
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