pub struct GetGroups {}Expand description
Retrieve all known groups.
use heos::HeosConnection;
use heos::command::group::GetGroups;
use heos::data::group::GroupInfo;
use std::time::Duration;
let heos = HeosConnection::connect_any(Duration::from_secs(1)).await?;
let groups: Vec<GroupInfo> = heos.command(GetGroups::default()).await?;Trait Implementations§
impl Copy for GetGroups
Auto Trait Implementations§
impl Freeze for GetGroups
impl RefUnwindSafe for GetGroups
impl Send for GetGroups
impl Sync for GetGroups
impl Unpin for GetGroups
impl UnsafeUnpin for GetGroups
impl UnwindSafe for GetGroups
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