pub enum ExchangeLookup {
Bytes(Vec<u8>),
Missing,
Expired,
Forbidden,
}Expand description
What a host returns for an exchange record locator.
Variants§
Bytes(Vec<u8>)
At most the max_bytes asked for.
Missing
Expired
Past the host’s retention.
Forbidden
The caller may not read it.
Trait Implementations§
Source§impl Clone for ExchangeLookup
impl Clone for ExchangeLookup
Source§impl Debug for ExchangeLookup
impl Debug for ExchangeLookup
impl Eq for ExchangeLookup
Source§impl PartialEq for ExchangeLookup
impl PartialEq for ExchangeLookup
impl StructuralPartialEq for ExchangeLookup
Auto Trait Implementations§
impl Freeze for ExchangeLookup
impl RefUnwindSafe for ExchangeLookup
impl Send for ExchangeLookup
impl Sync for ExchangeLookup
impl Unpin for ExchangeLookup
impl UnsafeUnpin for ExchangeLookup
impl UnwindSafe for ExchangeLookup
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