Struct icu_provider::buf::BufferMarker
source · pub struct BufferMarker;
Expand description
DynamicDataMarker
for raw buffers. Returned by BufferProvider
.
The data is expected to be deserialized before it can be used; see
DataPayload::into_deserialized
.
Trait Implementations§
source§impl Debug for BufferMarker
impl Debug for BufferMarker
source§impl DynamicDataMarker for BufferMarker
impl DynamicDataMarker for BufferMarker
source§type DataStruct = &'static [u8]
type DataStruct = &'static [u8]
A type that implements [
Yokeable
]. This should typically be the 'static
version of a
data struct.source§impl DynamicDataProvider<BufferMarker> for HelloWorldJsonProvider
impl DynamicDataProvider<BufferMarker> for HelloWorldJsonProvider
source§fn load_data(
&self,
marker: DataMarkerInfo,
req: DataRequest<'_>,
) -> Result<DataResponse<BufferMarker>, DataError>
fn load_data( &self, marker: DataMarkerInfo, req: DataRequest<'_>, ) -> Result<DataResponse<BufferMarker>, DataError>
Query the provider for data, returning the result. Read more
Auto Trait Implementations§
impl Freeze for BufferMarker
impl RefUnwindSafe for BufferMarker
impl Send for BufferMarker
impl Sync for BufferMarker
impl Unpin for BufferMarker
impl UnwindSafe for BufferMarker
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more