pub struct CommandFrame<'command, 'owner> { /* private fields */ }Expand description
Immutable borrow of one actual same-owner command transition. Its key is computed only when requested, without copying the hash for no-output commands.
Implementations§
Source§impl CommandFrame<'_, '_>
impl CommandFrame<'_, '_>
Sourcepub fn policy(&self) -> ResponsePolicy
pub fn policy(&self) -> ResponsePolicy
Computes the default successful-command response count from this exact accepted head.
Auto Trait Implementations§
impl<'command, 'owner> Forget for CommandFrame<'command, 'owner>
impl<'command, 'owner> Freeze for CommandFrame<'command, 'owner>
impl<'command, 'owner> Move for CommandFrame<'command, 'owner>
impl<'command, 'owner> RefUnwindSafe for CommandFrame<'command, 'owner>
impl<'command, 'owner> Send for CommandFrame<'command, 'owner>
impl<'command, 'owner> Sync for CommandFrame<'command, 'owner>
impl<'command, 'owner> Unpin for CommandFrame<'command, 'owner>
impl<'command, 'owner> UnsafeUnpin for CommandFrame<'command, 'owner>
impl<'command, 'owner> UnwindSafe for CommandFrame<'command, 'owner>
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