pub struct Instance {
pub id: InstanceId,
pub parent: Option<InstanceId>,
pub def_id: String,
pub def_version: i64,
pub status: Status,
pub mode: Mode,
pub active: BTreeSet<NodeId>,
pub esvs: BTreeMap<String, Value>,
pub external_source: BTreeMap<String, Value>,
pub timers: Vec<ArmedTimer>,
pub spawn_counter: u64,
pub dead_letter: Vec<DeadLetterRecord>,
/* private fields */
}Fields§
§id: InstanceId§parent: Option<InstanceId>§def_id: String§def_version: i64§status: Status§mode: Mode§active: BTreeSet<NodeId>§esvs: BTreeMap<String, Value>§external_source: BTreeMap<String, Value>§timers: Vec<ArmedTimer>§spawn_counter: u64§dead_letter: Vec<DeadLetterRecord>Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnsafeUnpin for Instance
impl UnwindSafe for Instance
Blanket Implementations§
Source§impl<T> AnyExt for T
impl<T> AnyExt for T
Source§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
Attempts to downcast this to
T behind referenceSource§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
Attempts to downcast this to
T behind mutable referenceSource§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
Attempts to downcast this to
T behind Rc pointerSource§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
Attempts to downcast this to
T behind Arc pointerSource§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