pub struct EnqueuedMsg {
pub enqueued_lt: u64,
pub out_msg_envelope: Lazy<MsgEnvelope>,
}Expand description
Outbound message queue entry.
Fields§
§enqueued_lt: u64Enqueued message lt.
out_msg_envelope: Lazy<MsgEnvelope>Outbound message envelope.
Implementations§
Source§impl EnqueuedMsg
impl EnqueuedMsg
Sourcepub fn load_created_lt(&self) -> Result<u64, Error>
pub fn load_created_lt(&self) -> Result<u64, Error>
Loads a logical time when the message was created.
Sourcepub fn load_out_msg_info(&self) -> Result<MsgInfo, Error>
pub fn load_out_msg_info(&self) -> Result<MsgInfo, Error>
Loads a message info.
Sourcepub fn load_out_msg(&self) -> Result<Message<'_>, Error>
pub fn load_out_msg(&self) -> Result<Message<'_>, Error>
Loads a non-owned message.
Sourcepub fn load_out_msg_owned(&self) -> Result<OwnedMessage, Error>
pub fn load_out_msg_owned(&self) -> Result<OwnedMessage, Error>
Loads an owned message.
Trait Implementations§
Source§impl Clone for EnqueuedMsg
impl Clone for EnqueuedMsg
Source§fn clone(&self) -> EnqueuedMsg
fn clone(&self) -> EnqueuedMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnqueuedMsg
impl Debug for EnqueuedMsg
Source§impl<'tlb> Load<'tlb> for EnqueuedMsg
impl<'tlb> Load<'tlb> for EnqueuedMsg
Source§impl PartialEq for EnqueuedMsg
impl PartialEq for EnqueuedMsg
Source§impl Serialize for EnqueuedMsg
impl Serialize for EnqueuedMsg
Source§impl Store for EnqueuedMsg
impl Store for EnqueuedMsg
Source§fn store_into(
&self,
__builder: &mut CellBuilder,
__context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for EnqueuedMsg
impl StructuralPartialEq for EnqueuedMsg
Auto Trait Implementations§
impl Freeze for EnqueuedMsg
impl !RefUnwindSafe for EnqueuedMsg
impl Send for EnqueuedMsg
impl Sync for EnqueuedMsg
impl Unpin for EnqueuedMsg
impl !UnwindSafe for EnqueuedMsg
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,
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
Compares
self to key and returns true if they are equal.