[−][src]Struct sampi::SampiBuilder
Implementations
impl<'a> SampiBuilder<'a>
[src]
pub fn with_pow(self, min_pow_score: u8) -> Self
[src]
pub fn with_pow_threads(self, threads_count: u64) -> Self
[src]
pub fn with_unix_time(self, unix_time: i64) -> Self
[src]
pub fn with_random_unix_time(self) -> Self
[src]
pub fn build(&self, data: SampiData) -> Result<Sampi>
[src]
pub fn build_raptor_stream(
&'a self,
r: impl Read + 'a,
stream_id: u64,
total_bytes: Option<NonZeroU64>
) -> impl Iterator<Item = Vec<Sampi>> + 'a
[src]
&'a self,
r: impl Read + 'a,
stream_id: u64,
total_bytes: Option<NonZeroU64>
) -> impl Iterator<Item = Vec<Sampi>> + 'a
Trait Implementations
impl<'a> Clone for SampiBuilder<'a>
[src]
fn clone(&self) -> SampiBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SampiBuilder<'a>
impl<'a> Send for SampiBuilder<'a>
impl<'a> Sync for SampiBuilder<'a>
impl<'a> Unpin for SampiBuilder<'a>
impl<'a> UnwindSafe for SampiBuilder<'a>
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,
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> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,