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, filter: Option<Filter>, ) -> Result<Vec<Port>, UFMError>
pub async fn version(&self) -> Result<String, UFMError>
Auto Trait Implementations§
impl !RefUnwindSafe for Ufm
impl !UnwindSafe for Ufm
impl Freeze for Ufm
impl Send for Ufm
impl Sync for Ufm
impl Unpin for Ufm
impl UnsafeUnpin 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