pub struct ChannelUnit<T: ?Sized>(/* private fields */);
Expand description
A type wrapping a ChannelHandle
and implementing StateUnit
.
Implementations§
Source§impl<T: 'static + VmbusDevice> ChannelUnit<T>
impl<T: 'static + VmbusDevice> ChannelUnit<T>
Trait Implementations§
Source§impl<T: ?Sized> Inspect for ChannelUnit<T>
impl<T: ?Sized> Inspect for ChannelUnit<T>
Source§impl<T: 'static + VmbusDevice + ?Sized> StateUnit for &ChannelUnit<T>
impl<T: 'static + VmbusDevice + ?Sized> StateUnit for &ChannelUnit<T>
Source§async fn restore(&mut self, state: SavedStateBlob) -> Result<(), RestoreError>
async fn restore(&mut self, state: SavedStateBlob) -> Result<(), RestoreError>
Restore state. Read more
Auto Trait Implementations§
impl<T> Freeze for ChannelUnit<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for ChannelUnit<T>
impl<T> Send for ChannelUnit<T>where
T: ?Sized,
impl<T> Sync for ChannelUnit<T>where
T: ?Sized,
impl<T> Unpin for ChannelUnit<T>where
T: ?Sized,
impl<T> !UnwindSafe for ChannelUnit<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