Struct rust_icu_ucnv::FeedResult
source · pub struct FeedResult {
pub dst_consumed: usize,
pub src_consumed: usize,
pub result: Result<(), Error>,
}
Expand description
The result of a feed/stream operation on a converter.
See UConverter for examples.
Fields§
§dst_consumed: usize
Indicates how many units have been written to the destination buffer.
src_consumed: usize
Indicates how many units of the source buffer have been read and processed by the converter.
result: Result<(), Error>
The status error reported by the underlying ICU call.
Auto Trait Implementations§
impl RefUnwindSafe for FeedResult
impl Send for FeedResult
impl Sync for FeedResult
impl Unpin for FeedResult
impl UnwindSafe for FeedResult
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