Struct raptorq::EncoderBuilder
source · [−]pub struct EncoderBuilder { /* private fields */ }
Implementations
sourceimpl EncoderBuilder
impl EncoderBuilder
pub fn new() -> EncoderBuilder
pub fn set_decoder_memory_requirement(&mut self, bytes: u64)
pub fn set_max_packet_size(&mut self, bytes: u16)
pub fn build(&self, data: &[u8]) -> Encoder
Trait Implementations
sourceimpl Clone for EncoderBuilder
impl Clone for EncoderBuilder
sourcefn clone(&self) -> EncoderBuilder
fn clone(&self) -> EncoderBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EncoderBuilder
impl Debug for EncoderBuilder
sourceimpl Default for EncoderBuilder
impl Default for EncoderBuilder
sourcefn default() -> EncoderBuilder
fn default() -> EncoderBuilder
Returns the “default value” for a type. Read more
sourceimpl PartialEq<EncoderBuilder> for EncoderBuilder
impl PartialEq<EncoderBuilder> for EncoderBuilder
sourcefn eq(&self, other: &EncoderBuilder) -> bool
fn eq(&self, other: &EncoderBuilder) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EncoderBuilder) -> bool
fn ne(&self, other: &EncoderBuilder) -> bool
This method tests for !=
.
impl Eq for EncoderBuilder
impl StructuralEq for EncoderBuilder
impl StructuralPartialEq for EncoderBuilder
Auto Trait Implementations
impl RefUnwindSafe for EncoderBuilder
impl Send for EncoderBuilder
impl Sync for EncoderBuilder
impl Unpin for EncoderBuilder
impl UnwindSafe for EncoderBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more