#[repr(u16)]pub enum ServerError {
Show 30 variants
Ok = 0,
PartialContent = 1,
EndOfStream = 2,
False = 3,
SequenceMismatch = 4,
FileError = 5,
RepoAlreadyOpened = 6,
NotFound = 7,
EmptyStream = 8,
StorageError = 9,
InvalidRequest = 10,
InvalidSignature = 11,
OtherError = 12,
OverlayMismatch = 13,
OverlayNotFound = 14,
TopicNotFound = 15,
AccessDenied = 16,
InvalidHeader = 17,
MalformedBranch = 18,
BrokerError = 19,
ProtocolError = 20,
PeerAlreadySubscribed = 21,
SubscriptionNotFound = 22,
SessionNotFound = 23,
SessionDetached = 24,
OxiGraphError = 25,
InvalidNuri = 26,
InvalidTarget = 27,
ExportWalletTimeOut = 28,
NetError = 29,
}
Variants§
Ok = 0
PartialContent = 1
EndOfStream = 2
False = 3
SequenceMismatch = 4
FileError = 5
RepoAlreadyOpened = 6
NotFound = 7
EmptyStream = 8
StorageError = 9
InvalidRequest = 10
InvalidSignature = 11
OtherError = 12
OverlayMismatch = 13
OverlayNotFound = 14
TopicNotFound = 15
AccessDenied = 16
InvalidHeader = 17
MalformedBranch = 18
BrokerError = 19
ProtocolError = 20
PeerAlreadySubscribed = 21
SubscriptionNotFound = 22
SessionNotFound = 23
SessionDetached = 24
OxiGraphError = 25
InvalidNuri = 26
InvalidTarget = 27
ExportWalletTimeOut = 28
NetError = 29
Implementations§
Trait Implementations§
Source§impl Clone for ServerError
impl Clone for ServerError
Source§fn clone(&self) -> ServerError
fn clone(&self) -> ServerError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ServerError
impl Debug for ServerError
Source§impl From<NetError> for ServerError
impl From<NetError> for ServerError
Source§impl From<NgError> for ServerError
impl From<NgError> for ServerError
Source§impl From<ProtocolError> for ServerError
impl From<ProtocolError> for ServerError
Source§fn from(e: ProtocolError) -> Self
fn from(e: ProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<ServerError> for NgError
impl From<ServerError> for NgError
Source§fn from(e: ServerError) -> Self
fn from(e: ServerError) -> Self
Converts to this type from the input type.
Source§impl From<ServerError> for u16
impl From<ServerError> for u16
Source§fn from(enum_value: ServerError) -> Self
fn from(enum_value: ServerError) -> Self
Converts to this type from the input type.
Source§impl From<StorageError> for ServerError
impl From<StorageError> for ServerError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServerError
impl PartialEq for ServerError
Source§impl TryFrom<u16> for ServerError
impl TryFrom<u16> for ServerError
Source§type Error = TryFromPrimitiveError<ServerError>
type Error = TryFromPrimitiveError<ServerError>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ServerError
impl TryFromPrimitive for ServerError
impl Eq for ServerError
impl StructuralPartialEq for ServerError
Auto Trait Implementations§
impl Freeze for ServerError
impl RefUnwindSafe for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Unpin for ServerError
impl UnwindSafe for ServerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more