pub enum InitError {
TooLong,
}Expand description
Represents the reasons why creating a new GermanStr could fail.
Variants§
TooLong
GermanStrs use an u32 to store their length, hence they can’t contain
more than 2^32 bytes (~4GB).
Trait Implementations§
impl Copy for InitError
Auto Trait Implementations§
impl Freeze for InitError
impl RefUnwindSafe for InitError
impl Send for InitError
impl Sync for InitError
impl Unpin for InitError
impl UnwindSafe for InitError
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