pub struct PivotByRawLineContext { /* private fields */ }
Expand description
Context used by methods requiring pivot. Loads and returns cover text line by line - not bound by pivot.
Implementations§
Trait Implementations§
Source§impl Context for PivotByRawLineContext
impl Context for PivotByRawLineContext
Source§fn get_current_text_mut(&mut self) -> Result<&mut String, ContextError>
fn get_current_text_mut(&mut self) -> Result<&mut String, ContextError>
Gets currently loaded cover text fragment mutably. Read more
Source§fn get_current_text(&self) -> Result<&String, ContextError>
fn get_current_text(&self) -> Result<&String, ContextError>
Gets currently loaded cover text fragment as read-only. Read more
Source§impl Decoder<PivotByRawLineContext> for ELUVMethod
impl Decoder<PivotByRawLineContext> for ELUVMethod
Source§fn partial_decode(
&self,
context: &PivotByRawLineContext,
) -> Result<Vec<Bit>, ContextError>
fn partial_decode( &self, context: &PivotByRawLineContext, ) -> Result<Vec<Bit>, ContextError>
fn decode( &self, context: &mut D, progress_channel: Option<&Sender<ProgressStatus>>, ) -> Result<Vec<u8>, Box<dyn Error>>
Source§impl Decoder<PivotByRawLineContext> for ExtendedLineMethod
impl Decoder<PivotByRawLineContext> for ExtendedLineMethod
Source§fn partial_decode(
&self,
context: &PivotByRawLineContext,
) -> Result<Vec<Bit>, ContextError>
fn partial_decode( &self, context: &PivotByRawLineContext, ) -> Result<Vec<Bit>, ContextError>
fn decode( &self, context: &mut D, progress_channel: Option<&Sender<ProgressStatus>>, ) -> Result<Vec<u8>, Box<dyn Error>>
Source§impl Decoder<PivotByRawLineContext> for LineExtendMethod
impl Decoder<PivotByRawLineContext> for LineExtendMethod
Source§fn partial_decode(
&self,
context: &PivotByRawLineContext,
) -> Result<Vec<Bit>, ContextError>
fn partial_decode( &self, context: &PivotByRawLineContext, ) -> Result<Vec<Bit>, ContextError>
fn decode( &self, context: &mut D, progress_channel: Option<&Sender<ProgressStatus>>, ) -> Result<Vec<u8>, Box<dyn Error>>
Source§impl Method<PivotByLineContext, PivotByRawLineContext> for ELUVMethod
impl Method<PivotByLineContext, PivotByRawLineContext> for ELUVMethod
fn method_name(&self) -> String
Source§impl Method<PivotByLineContext, PivotByRawLineContext> for ExtendedLineMethod
impl Method<PivotByLineContext, PivotByRawLineContext> for ExtendedLineMethod
fn method_name(&self) -> String
Source§impl Method<PivotByLineContext, PivotByRawLineContext> for LineExtendMethod
impl Method<PivotByLineContext, PivotByRawLineContext> for LineExtendMethod
fn method_name(&self) -> String
Auto Trait Implementations§
impl Freeze for PivotByRawLineContext
impl RefUnwindSafe for PivotByRawLineContext
impl Send for PivotByRawLineContext
impl Sync for PivotByRawLineContext
impl Unpin for PivotByRawLineContext
impl UnwindSafe for PivotByRawLineContext
Blanket Implementations§
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