#[repr(u8)]pub enum ArchivedNotification{
EventApplied {
issue_id: <String as Archive>::Archived,
event_id: <String as Archive>::Archived,
ts_unix_ms: <u64 as Archive>::Archived,
},
WalSynced {
wal_head: <String as Archive>::Archived,
remote: <String as Archive>::Archived,
},
LockChanged {
resource: <String as Archive>::Archived,
owner: <String as Archive>::Archived,
expires_unix_ms: <u64 as Archive>::Archived,
},
SnapshotCreated {
snapshot_ref: <String as Archive>::Archived,
},
WorkerStarted {
repo_root: <String as Archive>::Archived,
actor_id: <String as Archive>::Archived,
},
WorkerStopped {
repo_root: <String as Archive>::Archived,
actor_id: <String as Archive>::Archived,
reason: <String as Archive>::Archived,
},
}Expand description
An archived Notification
Variants§
EventApplied
The archived counterpart of Notification::EventApplied
Fields
issue_id: <String as Archive>::ArchivedThe archived counterpart of Notification::EventApplied::issue_id
event_id: <String as Archive>::ArchivedThe archived counterpart of Notification::EventApplied::event_id
ts_unix_ms: <u64 as Archive>::ArchivedThe archived counterpart of Notification::EventApplied::ts_unix_ms
WalSynced
The archived counterpart of Notification::WalSynced
Fields
wal_head: <String as Archive>::ArchivedThe archived counterpart of Notification::WalSynced::wal_head
remote: <String as Archive>::ArchivedThe archived counterpart of Notification::WalSynced::remote
LockChanged
The archived counterpart of Notification::LockChanged
Fields
resource: <String as Archive>::ArchivedThe archived counterpart of Notification::LockChanged::resource
owner: <String as Archive>::ArchivedThe archived counterpart of Notification::LockChanged::owner
expires_unix_ms: <u64 as Archive>::ArchivedThe archived counterpart of Notification::LockChanged::expires_unix_ms
SnapshotCreated
The archived counterpart of Notification::SnapshotCreated
Fields
snapshot_ref: <String as Archive>::ArchivedThe archived counterpart of Notification::SnapshotCreated::snapshot_ref
WorkerStarted
The archived counterpart of Notification::WorkerStarted
Fields
repo_root: <String as Archive>::ArchivedThe archived counterpart of Notification::WorkerStarted::repo_root
actor_id: <String as Archive>::ArchivedThe archived counterpart of Notification::WorkerStarted::actor_id
WorkerStopped
The archived counterpart of Notification::WorkerStopped
Fields
repo_root: <String as Archive>::ArchivedThe archived counterpart of Notification::WorkerStopped::repo_root
actor_id: <String as Archive>::ArchivedThe archived counterpart of Notification::WorkerStopped::actor_id
reason: <String as Archive>::ArchivedThe archived counterpart of Notification::WorkerStopped::reason
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedNotification
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedNotification
Source§impl Debug for ArchivedNotification
impl Debug for ArchivedNotification
impl Portable for ArchivedNotification
Auto Trait Implementations§
impl Freeze for ArchivedNotification
impl RefUnwindSafe for ArchivedNotification
impl Send for ArchivedNotification
impl Sync for ArchivedNotification
impl !Unpin for ArchivedNotification
impl !UnsafeUnpin for ArchivedNotification
impl UnwindSafe for ArchivedNotification
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.