pub enum MetadataFetchCompletionStatus {
Accepted,
FetchFailed,
DeliveryRejected,
}Expand description
Final outcome of a metadata fetch that passed the admission callback.
Variants§
Accepted
Metadata was fetched and accepted by the torrent callback.
FetchFailed
All available peer candidates failed.
DeliveryRejected
Metadata was fetched, but the application did not accept it.
Trait Implementations§
Source§impl Clone for MetadataFetchCompletionStatus
impl Clone for MetadataFetchCompletionStatus
Source§fn clone(&self) -> MetadataFetchCompletionStatus
fn clone(&self) -> MetadataFetchCompletionStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetadataFetchCompletionStatus
impl Eq for MetadataFetchCompletionStatus
impl StructuralPartialEq for MetadataFetchCompletionStatus
Auto Trait Implementations§
impl Freeze for MetadataFetchCompletionStatus
impl RefUnwindSafe for MetadataFetchCompletionStatus
impl Send for MetadataFetchCompletionStatus
impl Sync for MetadataFetchCompletionStatus
impl Unpin for MetadataFetchCompletionStatus
impl UnsafeUnpin for MetadataFetchCompletionStatus
impl UnwindSafe for MetadataFetchCompletionStatus
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