pub struct VmbusServerControl { /* private fields */ }
Expand description
Control point for VmbusServer
, allowing callers to offer channels.
Implementations§
Source§impl VmbusServerControl
impl VmbusServerControl
Sourcepub async fn offer_core(&self, offer_info: OfferInfo) -> Result<OfferResources>
pub async fn offer_core(&self, offer_info: OfferInfo) -> Result<OfferResources>
Offers a channel to the vmbus server, where the flags and user_defined data are already set. This is used by the relay to forward the host’s parameters.
Sourcepub async fn force_reset(&self) -> Result<()>
pub async fn force_reset(&self) -> Result<()>
Force reset all channels and protocol state, without requiring the server to be paused.
Trait Implementations§
Source§impl Clone for VmbusServerControl
impl Clone for VmbusServerControl
Source§fn clone(&self) -> VmbusServerControl
fn clone(&self) -> VmbusServerControl
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VmbusServerControl
impl !RefUnwindSafe for VmbusServerControl
impl Send for VmbusServerControl
impl Sync for VmbusServerControl
impl Unpin for VmbusServerControl
impl !UnwindSafe for VmbusServerControl
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