pub struct SuspendedCallStateRef<'a> { /* private fields */ }Expand description
Typed state reference for reading and writing state.
All modifications are automatically collected by the associated PatchSink.
Implementations§
Source§impl<'a> SuspendedCallStateRef<'a>
impl<'a> SuspendedCallStateRef<'a>
Sourcepub fn call(&self) -> TireaResult<SuspendedCall>
pub fn call(&self) -> TireaResult<SuspendedCall>
Read the field value.
Sourcepub fn set_call(&self, value: SuspendedCall) -> TireaResult<()>
pub fn set_call(&self, value: SuspendedCall) -> TireaResult<()>
Set the field value.
Sourcepub fn delete_call(&self) -> TireaResult<()>
pub fn delete_call(&self) -> TireaResult<()>
Delete this field entirely from the object.
Auto Trait Implementations§
impl<'a> Freeze for SuspendedCallStateRef<'a>
impl<'a> !RefUnwindSafe for SuspendedCallStateRef<'a>
impl<'a> Send for SuspendedCallStateRef<'a>
impl<'a> Sync for SuspendedCallStateRef<'a>
impl<'a> Unpin for SuspendedCallStateRef<'a>
impl<'a> !UnwindSafe for SuspendedCallStateRef<'a>
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