Enum AVTransportError

Source
pub enum AVTransportError {
Show 25 variants InvalidAction = 401, InvalidArgs = 402, InvalidVar = 404, ActionFailed = 501, TransitionNotAvailable = 701, NoContents = 702, ReadError = 703, FormatNotSupported = 704, TransportLocked = 705, WriteError = 706, MediaNotWriteable = 707, RecordingFormatNotSupported = 708, MediaFull = 709, SeekModeNotSupported = 710, IllegalSeekTarget = 711, PlayModeNotSupported = 712, RecordQualityNotSupported = 713, IllegalMimeType = 714, ContentBusy = 715, PlaySpeedNotSupported = 717, InvalidInstanceId = 718, NoDnsServer = 737, BadDomainName = 738, ServerError = 739, Unknown = 740,
}

Variants§

§

InvalidAction = 401

No action by that name at this service.

§

InvalidArgs = 402

Could be any of the following: not enough in args, too many in args, no in arg by that name, one or more in args are of the wrong data type.

§

InvalidVar = 404

No state variable by that name at this service.

§

ActionFailed = 501

May be returned in current state of service prevents invoking that action.

§

TransitionNotAvailable = 701

The immediate transition from current transport state to desired transport state is not supported by this device.

§

NoContents = 702

The media does not contain any contents that can be played.

§

ReadError = 703

The media cannot be read (e.g., because of dust or a scratch).

§

FormatNotSupported = 704

The storage format of the currently loaded media is not supported

§

TransportLocked = 705

The transport is “hold locked”.

§

WriteError = 706

The media cannot be written (e.g., because of dust or a scratch)

§

MediaNotWriteable = 707

The media is write-protected or is of a not writable type.

§

RecordingFormatNotSupported = 708

The storage format of the currently loaded media is not supported for recording by this device

§

MediaFull = 709

There is no free space left on the loaded media

§

SeekModeNotSupported = 710

The specified seek mode is not supported by the device

§

IllegalSeekTarget = 711

The specified seek target is not specified in terms of the seek mode, or is not present on the media

§

PlayModeNotSupported = 712

The specified play mode is not supported by the device

§

RecordQualityNotSupported = 713

The specified record quality is not supported by the device

§

IllegalMimeType = 714

The resource to be played has a mimetype which is not supported by the AVTransport service

§

ContentBusy = 715

This indicates the resource is already being played by other means

§

PlaySpeedNotSupported = 717

The specified playback speed is not supported by the AVTransport service

§

InvalidInstanceId = 718

The specified instanceID is invalid for this AVTransport

§

NoDnsServer = 737

The DNS Server is not available (HTTP error 503)

§

BadDomainName = 738

Unable to resolve the Fully Qualified Domain Name. (HTTP error 502)

§

ServerError = 739

The server that hosts the resource is unreachable or unresponsive (HTTP error 404/410).

§

Unknown = 740

Error we’ve not come across before

Trait Implementations§

Source§

impl Debug for AVTransportError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<AVTransportError> for ErrorKind

Source§

fn from(error: AVTransportError) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for AVTransportError

Source§

fn from(code: u64) -> AVTransportError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Typeable for T
where T: Any,

Source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,