pub struct SourceGuard { /* private fields */ }Expand description
An RAII guard used to manage the lifecycle of the thread-local string source.
Created via ZCString::get_source_guard.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceGuard
impl RefUnwindSafe for SourceGuard
impl Send for SourceGuard
impl Sync for SourceGuard
impl Unpin for SourceGuard
impl UnwindSafe for SourceGuard
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