pub struct SectionContext {
pub run_id: u64,
pub instance_id: u32,
pub mission_index: u32,
}Expand description
Construction identity shared by every section of an application instance.
Fields§
§run_id: u64§instance_id: u32§mission_index: u32Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for SectionContext
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SectionContext
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for SectionContext
impl Clone for SectionContext
impl Copy for SectionContext
Source§impl Debug for SectionContext
impl Debug for SectionContext
Source§impl<__Context> Decode<__Context> for SectionContext
impl<__Context> Decode<__Context> for SectionContext
Source§impl Default for SectionContext
impl Default for SectionContext
Source§impl Encode for SectionContext
impl Encode for SectionContext
impl Eq for SectionContext
Source§impl PartialEq for SectionContext
impl PartialEq for SectionContext
impl StructuralPartialEq for SectionContext
Auto Trait Implementations§
impl Freeze for SectionContext
impl RefUnwindSafe for SectionContext
impl Send for SectionContext
impl Sync for SectionContext
impl Unpin for SectionContext
impl UnsafeUnpin for SectionContext
impl UnwindSafe for SectionContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.