pub struct SpiceproxyClient<T> { /* private fields */ }Implementations§
Source§impl<T> SpiceproxyClient<T>where
T: Client,
impl<T> SpiceproxyClient<T>where
T: Client,
Source§impl<T> SpiceproxyClient<T>where
T: Client,
impl<T> SpiceproxyClient<T>where
T: Client,
Sourcepub async fn post(&self, params: PostParams) -> Result<PostOutput, T::Error>
pub async fn post(&self, params: PostParams) -> Result<PostOutput, T::Error>
Returns a SPICE configuration to connect to the CT.
Permission check: perm(“/vms/{vmid}”, [“VM.Console”])
Trait Implementations§
Source§impl<T: Clone> Clone for SpiceproxyClient<T>
impl<T: Clone> Clone for SpiceproxyClient<T>
Source§fn clone(&self) -> SpiceproxyClient<T>
fn clone(&self) -> SpiceproxyClient<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<T> Freeze for SpiceproxyClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for SpiceproxyClient<T>where
T: RefUnwindSafe,
impl<T> Send for SpiceproxyClient<T>where
T: Send,
impl<T> Sync for SpiceproxyClient<T>where
T: Sync,
impl<T> Unpin for SpiceproxyClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for SpiceproxyClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SpiceproxyClient<T>where
T: UnwindSafe,
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