pub struct FileSizeMarker;Expand description
Marker type for file sizes
Trait Implementations§
Source§impl Clone for FileSizeMarker
impl Clone for FileSizeMarker
Source§fn clone(&self) -> FileSizeMarker
fn clone(&self) -> FileSizeMarker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileSizeMarker
impl Debug for FileSizeMarker
Source§impl Hash for FileSizeMarker
impl Hash for FileSizeMarker
Source§impl PartialEq for FileSizeMarker
impl PartialEq for FileSizeMarker
Source§impl SizeCategory for FileSizeMarker
impl SizeCategory for FileSizeMarker
Source§fn category_name() -> &'static str
fn category_name() -> &'static str
Gets the category name for this size type
Source§fn default_unit() -> &'static str
fn default_unit() -> &'static str
Gets the default unit for display
Source§fn validate_size(bytes: u64) -> Result<(), PipelineError>
fn validate_size(bytes: u64) -> Result<(), PipelineError>
Validates category-specific constraints
impl Copy for FileSizeMarker
impl Eq for FileSizeMarker
impl StructuralPartialEq for FileSizeMarker
Auto Trait Implementations§
impl Freeze for FileSizeMarker
impl RefUnwindSafe for FileSizeMarker
impl Send for FileSizeMarker
impl Sync for FileSizeMarker
impl Unpin for FileSizeMarker
impl UnwindSafe for FileSizeMarker
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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