Struct iroh_blobs::rpc::client::blobs::AddReaderOpts
source · pub struct AddReaderOpts {
pub format: BlobFormat,
pub chunk_size: usize,
}
Available on crate feature
rpc
only.Expand description
Options for adding a directory as a collection
Fields§
§format: BlobFormat
The format of the blob
chunk_size: usize
Size of the chunks to send
Trait Implementations§
source§impl Clone for AddReaderOpts
impl Clone for AddReaderOpts
source§fn clone(&self) -> AddReaderOpts
fn clone(&self) -> AddReaderOpts
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 AddReaderOpts
impl Debug for AddReaderOpts
Auto Trait Implementations§
impl Freeze for AddReaderOpts
impl RefUnwindSafe for AddReaderOpts
impl Send for AddReaderOpts
impl Sync for AddReaderOpts
impl Unpin for AddReaderOpts
impl UnwindSafe for AddReaderOpts
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