Struct jsonnet::Error [] [src]

pub struct Error<'a>(_);

Error returned from jsonnet routines on failure.

Methods from Deref<Target = JsonnetString<'a>>

[src]

Returns the contents as a &str.

[src]

Returns the contents as a &CStr.

[src]

Returns the inner pointer to this jsonnet string.

The returned pointer will be valid for as long as self is.

Trait Implementations

impl<'a> Debug for Error<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Error<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Eq for Error<'a>
[src]

impl<'a> From<JsonnetString<'a>> for Error<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<Error<'a>> for JsonnetString<'a>
[src]

[src]

Performs the conversion.

impl<'a> Deref for Error<'a>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'a> Display for Error<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Error for Error<'a>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl<'a> !Send for Error<'a>

impl<'a> !Sync for Error<'a>