pub struct ChannelRef<T: ChannelTxnT> { /* private fields */ }Implementations§
Source§impl<T: ChannelTxnT> ChannelRef<T>
impl<T: ChannelTxnT> ChannelRef<T>
Source§impl<T: ChannelTxnT> ChannelRef<T>
impl<T: ChannelTxnT> ChannelRef<T>
pub fn read<'a>(&'a self) -> RwLockReadGuard<'a, T::Channel>
pub fn write<'a>(&'a self) -> RwLockWriteGuard<'a, T::Channel>
Trait Implementations§
Source§impl<T: ChannelTxnT> Clone for ChannelRef<T>
impl<T: ChannelTxnT> Clone for ChannelRef<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for ChannelRef<T>
impl<T> !UnwindSafe for ChannelRef<T>
impl<T> Freeze for ChannelRef<T>
impl<T> Send for ChannelRef<T>
impl<T> Sync for ChannelRef<T>
impl<T> Unpin for ChannelRef<T>
impl<T> UnsafeUnpin for ChannelRef<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