GreetingError
Validation failures returned by the greeting API.
Values
EmptyNameRUST · RUSTDOC
Real stable rustdoc HTML output from the checked-in rust fixture source. Generated artifacts, commands, versions, and SHA-256 hashes are recorded under sources/native. This is a teaching library, not a published SDK.
Validation failures returned by the greeting API.
EmptyNameSource § fn borrow (&self) -> &T Immutably borrows from an owned value. Read more
selfunknown&TSource § fn borrow (&self) -> &T Immutably borrows from an owned value. Read more
selfunknown&TSource § fn borrow_mut (&mut self) -> &mut T Mutably borrows from an owned value. Read more
self&mut&mut TSource § fn borrow_mut (&mut self) -> &mut T Mutably borrows from an owned value. Read more
self&mut&mut TReturns the argument unchanged.
tTTReturns the argument unchanged.
tTTGreet a reader.
name&strStringReject an empty reader name.
Result::ErrReturns GreetingError::EmptyName when name is empty.
name&strResult<String, GreetingError>Greet several readers while preserving input order.
names&[&str]Vec<String>Calls U::from(self) .
UCalls U::from(self) .
USource § fn try_from (value: U) -> Result <T, <T as TryFrom <U>>:: Error > Performs the conversion.
valueUResult<T, <T as TryFrom<U>>::Error>Source § fn try_from (value: U) -> Result <T, <T as TryFrom <U>>:: Error > Performs the conversion.
valueUResult<T, <T as TryFrom<U>>::Error>Source § fn try_into (self) -> Result <U, <U as TryFrom <T>>:: Error > Performs the conversion.
Result<U, <U as TryFrom<T>>::Error>Source § fn try_into (self) -> Result <U, <U as TryFrom <T>>:: Error > Performs the conversion.
Result<U, <U as TryFrom<T>>::Error>Source § fn type_id (&self) -> TypeId Gets the TypeId of self . Read more
selfunknownTypeIdSource § fn type_id (&self) -> TypeId Gets the TypeId of self . Read more
selfunknownTypeIdBuild personalized greetings without network access.
prefixString