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