pub struct PeerDisconnectedAlert(/* private fields */);Implementations§
Source§impl PeerDisconnectedAlert
impl PeerDisconnectedAlert
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 socket_type(&self) -> SocketType
pub fn op(&self) -> Operation
pub fn error(&self) -> LtrsError
pub fn reason(&self) -> CloseReason
Auto Trait Implementations§
impl Freeze for PeerDisconnectedAlert
impl RefUnwindSafe for PeerDisconnectedAlert
impl !Send for PeerDisconnectedAlert
impl !Sync for PeerDisconnectedAlert
impl Unpin for PeerDisconnectedAlert
impl UnwindSafe for PeerDisconnectedAlert
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