#[repr(u8)]pub enum PcpError {
Show 14 variants
Success = 0,
UnsupportedVersion = 1,
NotAuthorized = 2,
MalformedRequest = 3,
UnsupportedOpcode = 4,
UnsupportedOption = 5,
MalformedOption = 6,
NetworkFailure = 7,
NoResources = 8,
UnsupportedProtocol = 9,
UserExQuota = 10,
CannotProvideExternal = 11,
AddressMismatch = 12,
ExcessiveRemotePeers = 13,
}Variants§
Success = 0
UnsupportedVersion = 1
NotAuthorized = 2
MalformedRequest = 3
UnsupportedOpcode = 4
UnsupportedOption = 5
MalformedOption = 6
NetworkFailure = 7
NoResources = 8
UnsupportedProtocol = 9
UserExQuota = 10
CannotProvideExternal = 11
AddressMismatch = 12
ExcessiveRemotePeers = 13
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PcpError
impl RefUnwindSafe for PcpError
impl Send for PcpError
impl Sync for PcpError
impl Unpin for PcpError
impl UnwindSafe for PcpError
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