pub struct Sap { /* private fields */ }
Implementations§
Source§impl Sap
impl Sap
pub async fn new() -> SapResult<Self>
pub async fn discover_sessions(self) -> Receiver<SapResult<SessionAnnouncement>>
pub async fn announce_session( &mut self, announcement: SessionAnnouncement, ) -> SapResult<()>
pub async fn delete_session(&mut self) -> SapResult<()>
Auto Trait Implementations§
impl !Freeze for Sap
impl RefUnwindSafe for Sap
impl Send for Sap
impl Sync for Sap
impl Unpin for Sap
impl UnwindSafe for Sap
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