pub struct ChannelBinderGuard<'a> { /* private fields */ }Expand description
RAII guard that restores the previous thread-local channel binder on drop.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ChannelBinderGuard<'a>
impl<'a> !RefUnwindSafe for ChannelBinderGuard<'a>
impl<'a> Send for ChannelBinderGuard<'a>
impl<'a> Sync for ChannelBinderGuard<'a>
impl<'a> Unpin for ChannelBinderGuard<'a>
impl<'a> UnsafeUnpin for ChannelBinderGuard<'a>
impl<'a> !UnwindSafe for ChannelBinderGuard<'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