pub struct BlockDownloadingAlert(/* private fields */);Implementations§
Source§impl BlockDownloadingAlert
impl BlockDownloadingAlert
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 BlockDownloadingAlert
impl RefUnwindSafe for BlockDownloadingAlert
impl !Send for BlockDownloadingAlert
impl !Sync for BlockDownloadingAlert
impl Unpin for BlockDownloadingAlert
impl UnwindSafe for BlockDownloadingAlert
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