Struct AttachmentRowMut
#[non_exhaustive]pub struct AttachmentRowMut<'q, T>where
T: 'static,{ /* private fields */ }Expand description
A borrowed snapshot row with explicit journaled replacement/removal.
Implementations§
§impl<T> AttachmentRowMut<'_, T>
impl<T> AttachmentRowMut<'_, T>
pub fn holder(&self) -> AttachmentHolder
pub fn holder(&self) -> AttachmentHolder
The captured scoped identity.
pub fn set(
&self,
host: &mut dyn ServerHost,
value: T,
) -> Result<(), AttachmentRowError>
pub fn set( &self, host: &mut dyn ServerHost, value: T, ) -> Result<(), AttachmentRowError>
Replace through the ordinary write path, refusing stale residency first.
pub fn remove(
&self,
host: &mut dyn ServerHost,
) -> Result<Option<T>, AttachmentRowError>
pub fn remove( &self, host: &mut dyn ServerHost, ) -> Result<Option<T>, AttachmentRowError>
Remove through the ordinary write path, refusing stale residency first.
Auto Trait Implementations§
impl<'q, T> !RefUnwindSafe for AttachmentRowMut<'q, T>
impl<'q, T> !UnwindSafe for AttachmentRowMut<'q, T>
impl<'q, T> Freeze for AttachmentRowMut<'q, T>
impl<'q, T> Send for AttachmentRowMut<'q, T>where
T: Sync,
impl<'q, T> Sync for AttachmentRowMut<'q, T>where
T: Sync,
impl<'q, T> Unpin for AttachmentRowMut<'q, T>
impl<'q, T> UnsafeUnpin for AttachmentRowMut<'q, T>
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