pub struct RequestDroppedAlert(/* private fields */);Implementations§
Source§impl RequestDroppedAlert
impl RequestDroppedAlert
pub fn handle(&self) -> TorrentHandle
pub fn torrent_name<'a>(&'a self) -> &'a str
pub fn message(&self) -> String
pub fn pid(&self) -> PeerId
pub fn endpoint(&self) -> Endpoint
pub fn block_index(&self) -> i32
pub fn piece_index(&self) -> PieceIndex
Auto Trait Implementations§
impl Freeze for RequestDroppedAlert
impl RefUnwindSafe for RequestDroppedAlert
impl !Send for RequestDroppedAlert
impl !Sync for RequestDroppedAlert
impl Unpin for RequestDroppedAlert
impl UnwindSafe for RequestDroppedAlert
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