pub struct Announced {
pub info: AnnounceInfo,
/* private fields */
}
Fields§
§info: AnnounceInfo
Implementations§
Source§impl Announced
impl Announced
pub fn ok(&mut self) -> Result<(), ServeError>
pub async fn closed(&self) -> Result<(), ServeError>
pub fn close(self, err: ServeError) -> Result<(), ServeError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Announced
impl RefUnwindSafe for Announced
impl Send for Announced
impl Sync for Announced
impl Unpin for Announced
impl UnwindSafe for Announced
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