Struct raptorq::Encoder [−][src]
Implementations
impl Encoder[src]
pub fn new(data: &[u8], config: ObjectTransmissionInformation) -> Encoder[src]
pub fn with_defaults(data: &[u8], maximum_transmission_unit: u16) -> Encoder[src]
pub fn get_config(&self) -> ObjectTransmissionInformation[src]
pub fn get_encoded_packets(
&self,
repair_packets_per_block: u32
) -> Vec<EncodingPacket>[src]
&self,
repair_packets_per_block: u32
) -> Vec<EncodingPacket>
pub fn get_block_encoders(&self) -> &Vec<SourceBlockEncoder>[src]
Trait Implementations
impl Clone for Encoder[src]
impl Debug for Encoder[src]
impl Eq for Encoder[src]
impl PartialEq<Encoder> for Encoder[src]
impl StructuralEq for Encoder[src]
impl StructuralPartialEq for Encoder[src]
Auto Trait Implementations
impl RefUnwindSafe for Encoder
impl Send for Encoder
impl Sync for Encoder
impl Unpin for Encoder
impl UnwindSafe for Encoder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,