Enum iroh_blobs::cli::TicketOrHash  
source · pub enum TicketOrHash {
    Ticket(BlobTicket),
    Hash(Hash),
}Available on crate feature 
cli only.Expand description
Possible outcomes of an input.
Variants§
Trait Implementations§
source§impl Clone for TicketOrHash
 
impl Clone for TicketOrHash
source§fn clone(&self) -> TicketOrHash
 
fn clone(&self) -> TicketOrHash
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for TicketOrHash
 
impl Debug for TicketOrHash
source§impl Display for TicketOrHash
 
impl Display for TicketOrHash
Auto Trait Implementations§
impl Freeze for TicketOrHash
impl RefUnwindSafe for TicketOrHash
impl Send for TicketOrHash
impl Sync for TicketOrHash
impl Unpin for TicketOrHash
impl UnwindSafe for TicketOrHash
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
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