[][src]Function ion_rs::result::illegal_operation

pub fn illegal_operation<T, S: AsRef<str>>(description: S) -> IonResult<T>

A convenience method for creating an IonResult containing an IonError::IllegalOperation with the provided description text.