Lines Matching refs:ErrorCode
10 fn convert_error_code(&mut self, err: FsError) -> wasmtime::Result<sync_filesystem::ErrorCode> { in convert_error_code() argument
17 ) -> wasmtime::Result<Option<sync_filesystem::ErrorCode>> { in filesystem_error_code() argument
325 impl From<async_filesystem::ErrorCode> for sync_filesystem::ErrorCode { implementation
326 fn from(other: async_filesystem::ErrorCode) -> Self { in from()
327 use async_filesystem::ErrorCode; in from()
329 ErrorCode::Access => Self::Access, in from()
330 ErrorCode::WouldBlock => Self::WouldBlock, in from()
331 ErrorCode::Already => Self::Already, in from()
332 ErrorCode::BadDescriptor => Self::BadDescriptor, in from()
333 ErrorCode::Busy => Self::Busy, in from()
334 ErrorCode::Deadlock => Self::Deadlock, in from()
335 ErrorCode::Quota => Self::Quota, in from()
336 ErrorCode::Exist => Self::Exist, in from()
337 ErrorCode::FileTooLarge => Self::FileTooLarge, in from()
338 ErrorCode::IllegalByteSequence => Self::IllegalByteSequence, in from()
339 ErrorCode::InProgress => Self::InProgress, in from()
340 ErrorCode::Interrupted => Self::Interrupted, in from()
341 ErrorCode::Invalid => Self::Invalid, in from()
342 ErrorCode::Io => Self::Io, in from()
343 ErrorCode::IsDirectory => Self::IsDirectory, in from()
344 ErrorCode::Loop => Self::Loop, in from()
345 ErrorCode::TooManyLinks => Self::TooManyLinks, in from()
346 ErrorCode::MessageSize => Self::MessageSize, in from()
347 ErrorCode::NameTooLong => Self::NameTooLong, in from()
348 ErrorCode::NoDevice => Self::NoDevice, in from()
349 ErrorCode::NoEntry => Self::NoEntry, in from()
350 ErrorCode::NoLock => Self::NoLock, in from()
351 ErrorCode::InsufficientMemory => Self::InsufficientMemory, in from()
352 ErrorCode::InsufficientSpace => Self::InsufficientSpace, in from()
353 ErrorCode::NotDirectory => Self::NotDirectory, in from()
354 ErrorCode::NotEmpty => Self::NotEmpty, in from()
355 ErrorCode::NotRecoverable => Self::NotRecoverable, in from()
356 ErrorCode::Unsupported => Self::Unsupported, in from()
357 ErrorCode::NoTty => Self::NoTty, in from()
358 ErrorCode::NoSuchDevice => Self::NoSuchDevice, in from()
359 ErrorCode::Overflow => Self::Overflow, in from()
360 ErrorCode::NotPermitted => Self::NotPermitted, in from()
361 ErrorCode::Pipe => Self::Pipe, in from()
362 ErrorCode::ReadOnly => Self::ReadOnly, in from()
363 ErrorCode::InvalidSeek => Self::InvalidSeek, in from()
364 ErrorCode::TextFileBusy => Self::TextFileBusy, in from()
365 ErrorCode::CrossDevice => Self::CrossDevice, in from()