Struct roadblk::LengthError
source · pub struct LengthError {
pub min: usize,
pub max: usize,
pub len: usize,
}
Fields§
§min: usize
§max: usize
§len: usize
Trait Implementations§
source§impl Clone for LengthError
impl Clone for LengthError
source§fn clone(&self) -> LengthError
fn clone(&self) -> LengthError
Returns a copy 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 LengthError
impl Debug for LengthError
source§impl<'de> Deserialize<'de> for LengthError
impl<'de> Deserialize<'de> for LengthError
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LengthError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<LengthError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<LengthError> for ErrorType
impl From<LengthError> for ErrorType
source§fn from(value: LengthError) -> ErrorType
fn from(value: LengthError) -> ErrorType
Converts to this type from the input type.
source§impl Serialize for LengthError
impl Serialize for LengthError
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LengthError
impl RefUnwindSafe for LengthError
impl Send for LengthError
impl Sync for LengthError
impl Unpin for LengthError
impl UnwindSafe for LengthError
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