pub struct Ufm { /* private fields */ }
Implementations§
source§impl Ufm
impl Ufm
pub async fn bind_ports( &self, p: Partition, ports: Vec<PortConfig> ) -> Result<(), UFMError>
pub async fn unbind_ports( &self, pkey: PartitionKey, guids: Vec<String> ) -> Result<(), UFMError>
pub async fn get_partition(&self, pkey: &str) -> Result<Partition, UFMError>
pub async fn list_partition(&self) -> Result<Vec<Partition>, UFMError>
pub async fn delete_partition(&self, pkey: &str) -> Result<(), UFMError>
pub async fn list_port(&self, pkey: PartitionKey) -> Result<Vec<Port>, UFMError>
pub async fn version(&self) -> Result<String, UFMError>
Auto Trait Implementations§
impl !RefUnwindSafe for Ufm
impl Send for Ufm
impl Sync for Ufm
impl Unpin for Ufm
impl !UnwindSafe for Ufm
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