Enum sea_streamer_file::FileErr

source ยท
pub enum FileErr {
Show 13 variants ConfigErr(ConfigErr), Utf8Error(Utf8Error), IoError(Error), DuplicateIoError, WatchError(String), FormatErr(FormatErr), SeekErr(SeekErr), FileRemoved, FileLimitExceeded, TaskDead(&'static str), NotEnoughBytes, StreamEnded, ProducerEnded,
}

Variantsยง

ยง

ConfigErr(ConfigErr)

ยง

Utf8Error(Utf8Error)

ยง

IoError(Error)

ยง

DuplicateIoError

ยง

WatchError(String)

ยง

FormatErr(FormatErr)

ยง

SeekErr(SeekErr)

ยง

FileRemoved

ยง

FileLimitExceeded

ยง

TaskDead(&'static str)

ยง

NotEnoughBytes

ยง

StreamEnded

ยง

ProducerEnded

Implementationsยง

sourceยง

impl FileErr

source

pub fn take(&mut self) -> Self

Take ownership of this Err, leaving a clone in place.

Trait Implementationsยง

sourceยง

impl Debug for FileErr

sourceยง

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

Formats the value using the given formatter. Read more
sourceยง

impl Display for FileErr

sourceยง

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

Formats the value using the given formatter. Read more
sourceยง

impl Error for FileErr

sourceยง

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 ยท sourceยง

fn description(&self) -> &str

๐Ÿ‘ŽDeprecated since 1.42.0: use the Display impl or to_string()
1.0.0 ยท sourceยง

fn cause(&self) -> Option<&dyn Error>

๐Ÿ‘ŽDeprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceยง

fn provide<'a>(&'a self, request: &mut Request<'a>)

๐Ÿ”ฌThis is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
sourceยง

impl From<FileErr> for StreamErr<FileErr>

sourceยง

fn from(err: FileErr) -> Self

Converts to this type from the input type.
sourceยง

impl From<ShortStringErr> for FileErr

sourceยง

fn from(e: ShortStringErr) -> Self

Converts to this type from the input type.
sourceยง

impl From<StreamKeyErr> for FileErr

sourceยง

fn from(e: StreamKeyErr) -> Self

Converts to this type from the input type.
sourceยง

impl From<UnixTimestampErr> for FileErr

sourceยง

fn from(e: UnixTimestampErr) -> Self

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, 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> ToString for T
where T: Display + ?Sized,

sourceยง

default fn to_string(&self) -> String

Converts the given value to a String. Read more
sourceยง

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

ยง

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>,

ยง

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.