pub struct StateChangedAlert(/* private fields */);Implementations§
Source§impl StateChangedAlert
impl StateChangedAlert
pub fn handle(&self) -> TorrentHandle
pub fn torrent_name<'a>(&'a self) -> &'a str
pub fn message(&self) -> String
pub fn state(&self) -> TorrentState
pub fn prev_state(&self) -> TorrentState
Auto Trait Implementations§
impl Freeze for StateChangedAlert
impl RefUnwindSafe for StateChangedAlert
impl !Send for StateChangedAlert
impl !Sync for StateChangedAlert
impl Unpin for StateChangedAlert
impl UnwindSafe for StateChangedAlert
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