pub enum AsnEvent {
Result(Box<AsnResponse>),
Error {
query: String,
error: RdapError,
},
}Expand description
Emitted by stream_asn for each queried ASN.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsnEvent
impl !RefUnwindSafe for AsnEvent
impl Send for AsnEvent
impl Sync for AsnEvent
impl Unpin for AsnEvent
impl UnsafeUnpin for AsnEvent
impl !UnwindSafe for AsnEvent
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