Enum iroh_blobs::cli::BlobSource
source · pub enum BlobSource {
Stdin,
Path(PathBuf),
}
Available on crate feature
cli
only.Expand description
Where the data should be read from.
Variants§
Trait Implementations§
source§impl Clone for BlobSource
impl Clone for BlobSource
source§fn clone(&self) -> BlobSource
fn clone(&self) -> BlobSource
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 BlobSource
impl Debug for BlobSource
source§impl Display for BlobSource
impl Display for BlobSource
source§impl From<String> for BlobSource
impl From<String> for BlobSource
source§impl PartialEq for BlobSource
impl PartialEq for BlobSource
source§fn eq(&self, other: &BlobSource) -> bool
fn eq(&self, other: &BlobSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlobSource
impl StructuralPartialEq for BlobSource
Auto Trait Implementations§
impl Freeze for BlobSource
impl RefUnwindSafe for BlobSource
impl Send for BlobSource
impl Sync for BlobSource
impl Unpin for BlobSource
impl UnwindSafe for BlobSource
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more