pub struct BackendPlanes {
pub submit: PlaneStatus,
pub chain: PlaneStatus,
pub read: PlaneStatus,
pub view: PlaneStatus,
}Expand description
Backend plane status advertised by the node supervisor.
Fields§
§submit: PlaneStatusTransaction submission plane.
chain: PlaneStatusChain metadata plane.
read: PlaneStatusCommitted-state read plane.
view: PlaneStatusRead-only contract execution plane.
Implementations§
Source§impl BackendPlanes
impl BackendPlanes
Sourcepub const fn hogd_dev_scheduler_only() -> Self
pub const fn hogd_dev_scheduler_only() -> Self
Scheduler-backed submission without DB or execution read endpoints.
Sourcepub const fn hogd_dev_full(view: PlaneStatus) -> Self
pub const fn hogd_dev_full(view: PlaneStatus) -> Self
Scheduler submission, DB chain metadata, and indexed state reads.
Sourcepub const fn hogd_dev_storage_only(view: PlaneStatus) -> Self
pub const fn hogd_dev_storage_only(view: PlaneStatus) -> Self
Scheduler submission with DB-backed chain metadata and storage reads.
Trait Implementations§
Source§impl Clone for BackendPlanes
impl Clone for BackendPlanes
impl Copy for BackendPlanes
Source§impl Debug for BackendPlanes
impl Debug for BackendPlanes
impl Eq for BackendPlanes
Source§impl PartialEq for BackendPlanes
impl PartialEq for BackendPlanes
Source§impl Serialize for BackendPlanes
impl Serialize for BackendPlanes
impl StructuralPartialEq for BackendPlanes
Auto Trait Implementations§
impl Freeze for BackendPlanes
impl RefUnwindSafe for BackendPlanes
impl Send for BackendPlanes
impl Sync for BackendPlanes
impl Unpin for BackendPlanes
impl UnsafeUnpin for BackendPlanes
impl UnwindSafe for BackendPlanes
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.